Staredit Network

Staredit Network -> UMS Assistance -> Looping Files-Not Working
Report, edit, etc...Posted by Kira Yamato on 2004-10-15 at 18:17:37
hello im basically a noob making maps any way , I been trying 2 loop wavs with this http://members.lycos.co.uk/scportalmp/loopingmusic.php but it isnt working anything im doing wrong?
Report, edit, etc...Posted by Urmom(U) on 2004-10-15 at 19:32:23
the reason that isnt working is because it is completely wrong. try this


Trigger
Description:
music loop
Conditions:
¤ Switch one is cleared
Actions:
¤ Set Switch 1
¤ Play Wav
¤ Preserve Trigger


then have another saying


Trigger
Description:
music loop
Conditions:
¤ Switch 1 is set
Actions:
¤ Wait XXX
¤ Clear Switch 1
¤ Preserve Trigger


im pretty sure that should do it
Report, edit, etc...Posted by greenreaper on 2004-10-15 at 19:37:22
Lol......I think that site is inaccurate. The trigger is ALWAYS setting it to cleared because of preserve trigger. Here's how to do it. (this method is with a music on/off switch) If you don't know what that is, it's basically like you can bring a unit to a location to "turn off/on" music.


Trigger
Description:
music
Players:
¤ players
Conditions:
¤ switch "1" is set
Actions:
¤ Play "Music"
¤ wait "x" seconds
¤ Preserve Trigger



Trigger
Description:
Turning music off
Players:
¤ Players
Conditions:
¤ Player "x" brings at least "x" "unit" to location "off"
Actions:
¤ Clear switch "1"
¤ Preserve Trigger



Trigger
Description:
Turning music on
Players:
¤ Players
Conditions:
¤ Player "x" brings at least "x" "unit" to location "on"
Actions:
¤ Set switch "1"
¤ Preserve Trigger


that's for....a music on/off system.
Report, edit, etc...Posted by .Coko[CK] on 2004-10-15 at 20:07:20
That only works for a single player map; for multiple players to hear the .wav, use this System:

(All Players, [TRY TO HAVE NO OTHER WAITS HERE])
Conditions:
'Current Player' suffers 'Death' of 'Exactly' '1' 'Mineral Patch 1'
Actions:
Wait xXx Milliseconds
'Set Deaths' for 'Mineral Patch' owned by 'Current Player' to '0'
Preserve Trigger

(Any Players who will hear it)
Conditions:
'Current Player' suffers 'Death' of 'Exactly' '0' 'Mineral Patch 0'
Actions:
Play *.wav
'Set Deaths' for 'Mineral Patch' owned by 'Current Player' to '1'
Preserve Trigger


Difference is that now it activates for all involved, because with the Switch once it is read once, you'll have to wait ages again till its ready for another person!
Next Page (1)