Staredit Network

Staredit Network -> UMS Assistance -> Music Loop Slowing Map Down
Report, edit, etc...Posted by TheOddAngel on 2004-08-28 at 09:07:26
I posted a thread before abotu hypertriggers slowing my map down but i took my music loop out and it works fine....

I know i did the music loop Right because it works all the othertimes i use it

My map isnt the same wihtout the music sad.gif

How can i put my music back in???
Report, edit, etc...Posted by phatdiddy on 2004-08-28 at 11:25:45
I'm assuming the music loop had a wait in it. The wait was what was slowing the map down and interfering with the hyper triggers.

You can use other methods to loop music. Try using a death counter and constantly adding 1 to it. When it gets to a certain number which is when the music ends, just set the timer to 0 and play the wav again.
Report, edit, etc...Posted by TheOddAngel on 2004-08-28 at 11:27:10
Nice idea biggrin.gif

.............

How...... pinch.gif

Im sry im really slow today blushing.gif
Report, edit, etc...Posted by LegacyWeapon on 2004-08-28 at 12:53:59
actually, if u put the hyper triggers at the bottom of the list of triggers, it should not affect the other waits in other triggers
Report, edit, etc...Posted by Carnorus on 2004-08-28 at 13:02:45
If you go to tutorials> average > music looping

There's a good one there, and it uses switches(set and clear)

Example:
------
condition
Music playing is cleared
action
set music playing
play music.wav
preserve trigger
------
Then for a NPC make a trigger like this
condition
music playing is set
actions
clear music playing
wait # milliseconds
preserve trigger
Report, edit, etc...Posted by KiLLeR2001 on 2004-08-28 at 13:24:58
QUOTE(Carnorus @ Aug 28 2004, 12:02 PM)
If you go to tutorials> average > music looping

There's a good one there, and it uses switches(set and clear)

Example:
------
condition
Music playing is cleared
action
set music playing
play music.wav
preserve trigger
------
Then for a NPC make a trigger like this
condition
music playing is set
actions
clear music playing
wait # milliseconds

preserve trigger

You need to switch the two actions in bold otherwise it'll clear the switch before it actually waits to play the wav again...
Report, edit, etc...Posted by VoidArchon(MC) on 2004-08-28 at 13:40:24
if your using seperate triggers for wait and playing the music, use the play music part in Players #-# and the Wait part in a Neutral player.

Edited: make sure the neutral player has a start location
Report, edit, etc...Posted by TheOddAngel on 2004-08-28 at 13:45:07
errrr...

First of all The Music Loop in the Download section is the 1 I always use and it wont work
Report, edit, etc...Posted by .Coko[CK] on 2004-08-28 at 13:58:45
Sound part must be placed in the Trigger Area of the unit it will effect, the Reset must be placed in a Trigger Area without any other waits in it, including Hyper Triggers, so if you have an Empty 1,2,3,4,5,6,7,8 spot use that, or the All Players if it has no Waits in it, don't use Forces because thats the same as using the 1-8 choices.

If not possible, then place in the area with least amount of wait times, remove your Hyper Triggers, save the map and then add the Hyper Triggers again.
Next Page (1)