Re: Multiple triggers to start an effect at multiple origins
Posted: October 20th, 2011, 8:25 am
Yup, that was it.. Aside from one small detail it works right now.. But that detail is somewhat hard to explain.
The sound seems to come from only one of the origins, while the light effect plays at all of the origins.
To illustrate: imagine a long path divided into 5 sections. At each transition is a pole with a lamp-model and an origin. On the mostleft, middle and mostright pole a trigger is attached. Kinda like so:
T_____P_____T_____P_____T
T= pole with origin and trigger
P= pole with origin
If I use the mostleft trigger and start walking towards the middle the sound just dies. If I walk back, it comes back. Afterwards, if I use the mostright trigger, the sound only comes from the mostright pole. Which seems strange as each trigger is connected to all origins and I can't really find a reason for this. Is there a limitation in the playsound function maybe? Because the playfx thing DOES work at all origins. It's not a BIG problem cuz if this doesn't work I can just play the sound "level-wide" but it would be a cooler effect if the sound was played at multiple origins as well
Anyways, thanks for all the help!! Much appreciated and learned a lot!
The sound seems to come from only one of the origins, while the light effect plays at all of the origins.
To illustrate: imagine a long path divided into 5 sections. At each transition is a pole with a lamp-model and an origin. On the mostleft, middle and mostright pole a trigger is attached. Kinda like so:
T_____P_____T_____P_____T
T= pole with origin and trigger
P= pole with origin
If I use the mostleft trigger and start walking towards the middle the sound just dies. If I walk back, it comes back. Afterwards, if I use the mostright trigger, the sound only comes from the mostright pole. Which seems strange as each trigger is connected to all origins and I can't really find a reason for this. Is there a limitation in the playsound function maybe? Because the playfx thing DOES work at all origins. It's not a BIG problem cuz if this doesn't work I can just play the sound "level-wide" but it would be a cooler effect if the sound was played at multiple origins as well
Anyways, thanks for all the help!! Much appreciated and learned a lot!