This seems so simple and is making me feel newbish, but after an hour of toying yesterday I was unable to find an answer in the editor or on the forums.
I have a sound that plays while a behavior is activated (specifically, a jetpack sound).
The problem is that it is not "local" to the unit, but rather it plays with the same volume everywhere, even if your camera is across the map from the unit using the behavior.
Right now the way I have it set up is on the Unit Actor :
Marine (Jetpack) "Unit Actor"
Events
Behavior.Jetpack.On
SetTimer 0.100, 0.100 JETPACK
TimerExpired
=> TimerName JETPACK
Create JetpackSound
TimerExpired
=> TimerName JETPACK
SetTimer 0.100, 0.100 JETPACK
Behavior.Jetpack.Off
Destroy
The sound plays fine, just globally.
I am not sure if it is specified in Events or some sort of Host - Attachment field or what, but I just want the sound to generate from the unit rather than playing at a global level.
I've asked around and troubleshooted this with a couple people in IRC and we've found nothing. My assumption is that it may only be possible in patch 1.2 where you can make actors work for certain players only? My sounds are global too and it's annoying.
Yeah I mean it seems like it should be so obvious. I need to spend longer trying to figure it out, but so far examining Sound actors, Events on actors, and the Sound data objects themselves has yielded nothing.
Woops totally misread your post. I thought you were playing a sound in the events of an actor ... not using a sound actor. My problem is the using the play sound message on an actor. Sorry for not helping :(
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
This seems so simple and is making me feel newbish, but after an hour of toying yesterday I was unable to find an answer in the editor or on the forums.
I have a sound that plays while a behavior is activated (specifically, a jetpack sound).
The problem is that it is not "local" to the unit, but rather it plays with the same volume everywhere, even if your camera is across the map from the unit using the behavior.
Right now the way I have it set up is on the Unit Actor :
The sound plays fine, just globally.
I am not sure if it is specified in Events or some sort of Host - Attachment field or what, but I just want the sound to generate from the unit rather than playing at a global level.
bump
@scmapcritic: Go
bumpppp
@scmapcritic: Go
I've asked around and troubleshooted this with a couple people in IRC and we've found nothing. My assumption is that it may only be possible in patch 1.2 where you can make actors work for certain players only? My sounds are global too and it's annoying.
@johnsmithlol: Go
Yeah I mean it seems like it should be so obvious. I need to spend longer trying to figure it out, but so far examining Sound actors, Events on actors, and the Sound data objects themselves has yielded nothing.
@scmapcritic: Go
Ok, I dug around some more and maybe because it's not 3AM, but I immediately noticed the "Mode" attribute of a "Sound" data object.
Switching from 2D to 3D World Relative instantly solved my problem.
@scmapcritic: Go
Woops totally misread your post. I thought you were playing a sound in the events of an actor ... not using a sound actor. My problem is the using the play sound message on an actor. Sorry for not helping :(