Staredit Network

Staredit Network -> UMS Assistance -> Music
Report, edit, etc...Posted by re_casper on 2004-12-27 at 20:19:59
Will this work? confused.gif


Trigger
Description:
Music
Players:
¤ All Players
Conditions:
¤ P6 custom score is exactly 1
Actions:
¤ Play " .wav"
¤ wait ----- long
¤ modify score for player 6 custom, add 1



Then keep on going until last song then bring it back to zip. Will it work?
Report, edit, etc...Posted by Staredit.Net Essence on 2004-12-27 at 20:28:10
You'd have to have it set it to 0 when it starts, so that when it goes up, it goes back to 1.
Report, edit, etc...Posted by chuiu on 2004-12-27 at 21:38:50
Yes that would work. You could also just make one single trigger that says something like ...

Conditions:
Always.
Actions:
Play wav.
Wait #### miliseconds.
Play wav.
Wait #### miliseconds.
Play wav.
Wait #### miliseconds.

And so on untill the last one. The only problem is that there is a 1 or 2 second wait from the preserve trigger kicking in.
Report, edit, etc...Posted by Staredit.Net Essence on 2004-12-27 at 21:41:00
And waits could stack and mess stuff up. I hate that grrr. Right now I'm working on a system to use death counts to detect the game speed, then use them for the music playing, a different trigegr for each speed to it plays flawlessly at any speed with any game speed (slowest to fastest). That could help, when I'm done with it.
Report, edit, etc...Posted by Kow on 2004-12-27 at 21:42:02
Trigger
Conditions:
¤ Death = 0
Actions:
¤ Play Wav #1
¤ Wait (Long)
¤ Add Death Counter (1)


Trigger
Conditions:
¤ Death = 1
Actions:
¤ Play Wav #2
¤ Wait (Long)
¤ Add Death Counter (1)


Trigger
Conditions:
¤ Death = 3
Actions:
¤ Play Wav #Last
¤ Wait (Long)
¤ Set Death Counter (0)

Etc.

So it's like a playlist?
It cycles?
Report, edit, etc...Posted by (U)Bolt_Head on 2004-12-28 at 01:12:05
idsa you shouldn't just show a trigger and ask if it works or not.

Because, YES it always works. The trigger does what it is programed to do. What you really need to know is if that trigger does what you WANT it to do. Since you didn't really describe what you WANT to do then its hard to help.

Everyone here is trying to explain how to play several wavs one after another. I think you were just trying to loop one of them so when it is done playing it starts again. (maybe i'm wrong but i don't know)
Next Page (1)