Staredit Network

Staredit Network -> UMS Assistance -> How do you play a song for the whole game?
Report, edit, etc...Posted by EcHo on 2006-01-26 at 18:05:01
I have hyper triggers on but i wanna play a wav dat is 5.51 seconds long, i put 5510 milliseconds but it plays and stops. How can i make it play forever?
Report, edit, etc...Posted by Fwop_ on 2006-01-26 at 18:06:47
Make sure that the trigger is preserved, so it will be repeated.
Report, edit, etc...Posted by EcHo on 2006-01-26 at 18:21:54
it is in preserve....
This is what i did
Players
All Players Player 1 2 3 4 5 6
Play wav
Wait 5510 Milliseconds
preserve trigger.
Report, edit, etc...Posted by Fwop_ on 2006-01-26 at 18:27:32
You may be experiencing wait blocks. You could always use the counter method, continuously add a death counter with hyper triggers and and then check when 5 seconds went by.

Make sure hyper triggers aren't for Players 1-6.
Report, edit, etc...Posted by EcHo on 2006-01-26 at 18:53:51
its for player 8
Report, edit, etc...Posted by nimadude on 2006-01-26 at 18:54:35
QUOTE(Fwop_ @ Jan 26 2006, 03:27 PM)
You may be experiencing wait blocks.  You could always use the counter method,  continuously add a death counter with hyper triggers and and then check when 5 seconds went by.

Make sure hyper triggers aren't for Players 1-6.
[right][snapback]413773[/snapback][/right]


When you use hyper triggers, before saving your map, always remove the hyper triggers, save the map, reload the hyper triggers and save again.

So the map thinks it has no hyper triggers and then they are added on. Since hyper triggers interfere with wait triggers, always do this when saving.
Report, edit, etc...Posted by EcHo on 2006-01-26 at 19:12:13
QUOTE(nimadude @ Jan 26 2006, 06:54 PM)
When you use hyper triggers, before saving your map, always remove the hyper triggers, save the map, reload the hyper triggers and save again.

So the map thinks it has no hyper triggers and then they are added on. Since hyper triggers interfere with wait triggers, always do this when saving.
[right][snapback]413825[/snapback][/right]

wat u mean as reload?
save the trigger?
and then load?
or remake it?
Report, edit, etc...Posted by nimadude on 2006-01-26 at 19:31:24
QUOTE(Echo @ Jan 26 2006, 04:12 PM)
wat u mean as reload?
save the trigger?
and then load?
or remake it?
[right][snapback]413861[/snapback][/right]


replace the triggers. Make them again. hehe. Sorry for that wording, its jsut that I have saved hyper triggers as a .trg file so I conveniently open it up for my maps after deleting them. Its a routine for me.
Report, edit, etc...Posted by EcHo on 2006-01-26 at 19:41:41
hyper triggers as in
copy wait 0 miliseconds til it ends
Delete one
put preserve trigger
Copy whole thing 2 times?

ADDITION:
OMG AFTER I DID DAT
ALL MY OTHER TRIGGERS GOT MESSED UP!
omg.. all of em r disabled and location and everything is gone!

kk it works but its messing up my other trigger

the one dat adds gas every second
and i dont think hypertrigger is working now
also the wav keeps pausing..

also do i put it for all players?
or chck 1 2 3 4 5 6
or seperatly?
Report, edit, etc...Posted by nimadude on 2006-01-26 at 20:32:12
QUOTE(Echo @ Jan 26 2006, 04:41 PM)
hyper triggers as in
copy wait 0 miliseconds til it ends
Delete one
put preserve trigger
Copy whole thing 2 times?

ADDITION:
OMG AFTER I DID DAT
ALL MY OTHER TRIGGERS GOT MESSED UP!
omg.. all of em r disabled and location and everything is gone!

kk it works but its messing up my other trigger

the one dat adds gas every second
and i dont think hypertrigger is working now
also the wav keeps pausing..

also do i put it for all players?
or chck 1 2 3 4 5 6
or seperatly?
[right][snapback]413884[/snapback][/right]


put it under ALL players, not ticking individually. And yes , by remaking i mean have a trigger with a bunch of 0s.
Report, edit, etc...Posted by joker2kill on 2006-01-27 at 15:35:04
we have tutorials for everything!

Looping Music
Report, edit, etc...Posted by EcHo on 2006-01-27 at 18:23:42
yeah thx
i was looking for one with hyper triggers
but there is still a pause :/
Report, edit, etc...Posted by R0y- on 2006-01-27 at 19:21:37
Ok..

1. Make sure that players 1-6 dont have any waits in their triggers.
2. Set the music for each player, not All players (player 1, player 2, etc.).
3. A perfect loop time for 5.51 seconds is 5310.

If players 1-6 have wait triggers, the music will be delayed.

Trigger
Players:
¤ Player 1
¤ Player 2
¤ Player 3
¤ Player 4
¤ Player 5
¤ Player 6
Conditions:
¤ Always (or another condition)
Actions:
¤ Play 'music.wav'
¤ Wait '5310'
¤ Preserve Trigger.
¤ (optional) Comment: Music


That should make the trigger work.
Report, edit, etc...Posted by joker2kill on 2006-01-27 at 19:22:18
did you follow the instructions of the bottom one. and actually USED the hypertriggers (make sure they are set for all players)
Report, edit, etc...Posted by Joshgt2 on 2006-01-28 at 00:50:52
QUOTE(joker2kill @ Jan 27 2006, 03:35 PM)
we have tutorials for everything!

Looping Music
[right][snapback]414312[/snapback][/right]

That is not completly true but always look in the tutorials first
Next Page (1)