Staredit Network

Staredit Network -> UMS Assistance -> Switches Again :P
Report, edit, etc...Posted by Gold_Member on 2006-10-07 at 16:24:49
I need help again with the switches, I have all the switches set up some what perfect obviously not since its not working biggrin.gif But when i move the civ from "Music On" beacon to the "Music Off" beacon the music plays and then stops, I would like it to instantly turn off the music...if that is possible tongue.gif here is the triggers I have set up as of now:

Trigger 1:
-Condition: Current player brings at least 1 civilian to "Music On".
-Action: Set Switch 01

Trigger 2:
-Condition: Switch 01 is set
-Action: Play Wav
-Action: Clear Switch
-Action: Wait for 78000 milliseconds (length of song)
-Action: Preserve Trigger

Trigger 3:
-Condition: Current player brings at least 1 civilian to "Music Off"
-Action: "Clear" Switch 01

If you can figure out why the music wont stop when I go on the "Music Off" beacon let me know please!
Report, edit, etc...Posted by DevliN on 2006-10-07 at 17:24:14
If there was a "stop all sounds" trigger, it could work. But unfortunately the wav will keep playing until it ends and cannot repeat.

And if the music stops when you "turn it off" and starts when you "turn it on," then your triggers are fine.
Report, edit, etc...Posted by Gold_Member on 2006-10-07 at 18:15:10
Alright thanks me and a friend were trying to figure it out but he figured u couldnt turn it off.
Report, edit, etc...Posted by Mini Moose 2707 on 2006-10-07 at 20:43:31
Why are you using a switch? Just make "Current player brings at least 1 civilian to "Music On" the condition for the music trigger. The trigger will work the same with more efficency.
Report, edit, etc...Posted by Knx. on 2006-10-07 at 22:06:13
I have a suggestion, when go to "Turn off Beacon" play a sound of 0 seconds and stop all sounds. I think it works.
Report, edit, etc...Posted by Mini Moose 2707 on 2006-10-07 at 22:09:23
It doesn't. When multiple sounds are played, they overlap and are played simultaneously.
Report, edit, etc...Posted by Urmom(U) on 2006-10-07 at 22:30:08
You would have to break the sound up into very tiny pieces (like a second long) and then just make it so that the loop stops.
Report, edit, etc...Posted by Gold_Member on 2006-10-08 at 04:04:44
Ya I decided to just have the music play the other people can just turn off their speakers if they don't like it. yawn.gif Thanks for all of your help tho.
Report, edit, etc...Posted by Laser_Dude on 2006-10-08 at 15:51:27
No! don't do that, playing a muted game is terrible, just make it optional, but so it doesn't loop when they bring the civ to music off.
Report, edit, etc...Posted by Knx. on 2006-10-08 at 15:58:36
Make it start off, and if you want you turn on
Next Page (1)