14.03.2013, 21:22
I thought about that but what if i use such a command so i open and close it with the same command and types in the command half way when the gate is "opening"
You see my point? Then the timer doesnt know the actual location of the object and the sound will continue to play a bit when the gate is closed...
I have thought about something like this..
If you add the PlayPlayerSound with the id of 1153 in the command script and make like a OnObjectMoved with PlayPlayerSound with id 1154 to stop the sound if the object (the gate) stops.
You see my point? Then the timer doesnt know the actual location of the object and the sound will continue to play a bit when the gate is closed...
I have thought about something like this..
If you add the PlayPlayerSound with the id of 1153 in the command script and make like a OnObjectMoved with PlayPlayerSound with id 1154 to stop the sound if the object (the gate) stops.