Staredit Network

Staredit Network -> UMS Assistance -> music looping help
Report, edit, etc...Posted by DemonKilla on 2006-02-16 at 15:42:17
i used the tutorial but it doesnt work and also i had one that worked but stalled if it started a new level and my waits that i need to work right away and its affected ne 1 have an alternitive for the tuts one and this on:


Trigger
Description:
Music Looping
Players:
¤ Force 1 AKa: Human Players
Conditions:
¤ always
Actions:
¤ play wav
¤ wait 60000
¤ preserve trigger

Report, edit, etc...Posted by Urmom(U) on 2006-02-16 at 15:47:28
Instead of using waits, use the death count timer system. If you wanted to play the music and wait for 60 seconds, then try this trigger.

Trigger
Conditions:
¤ Current Player has suffered exactly 0 deaths of Ursadon.
Actions:
¤ Set Deaths for Current Player: Set to 720
¤ Play WAV
¤ Preserve Trigger


Trigger
Conditions:
¤ Current Player has suffered at least 1 deaths of Ursadon.
Actions:
¤ Set Deaths for Current Player: Subtract 1 for Ursadon
¤ Preserve Trigger

Remember that you need hypertriggers for this to work. And to explain it a bit, we can use death counts as a timer. With hypertriggers, you can add/subtract them at about 12 per second. I took your 60 seconds and multiplied that by 12 and got the 720. Now that the player hasn't suffered 0 deaths of ursadon anymore, the wav won't keeep repeating itself. The second trigger activates itself and starts subtracting the timer.
Next Page (1)