Staredit Network

Staredit Network -> UMS Assistance -> Music at Location
Report, edit, etc...Posted by xtremebob on 2004-10-09 at 18:20:00
What I'm trying to do is something extremely over my head. What I'm trying to do is to play a background song in a loop whenever you bring your unit to a location. I want it so when you start to play the map, there is no music, but when you bring the unit to the location it will start, but if you bring it to a different location the music will stop looping, and to start playing the other. I would like to know if this is possible, if it is can you explain it, I don't need to know how to loop it I already know how. Thanks in advance happy.gif
Report, edit, etc...Posted by Screwed on 2004-10-09 at 18:28:14
You just explained how u could make the trigger urself. Yes it would work.

-Player brings unit to location X
-'Music Playing' is cleared.

-Set 'Music Playing'
-Play 'L X Music'
-Wait 'Lengnth of Piece'
-Preserve Trigger.

-------------------------------------
-Player brings unit to location Y
-'Music Playing' is cleared.

-Set 'Music Playing'
-Play 'L Y Music'
-Wait 'Lengnth of Piece'
-Preserve Trigger.

However, there is no way u can stop the previous music from playing, so u either need switches or counters to distinguish whether a music is playing now to avoid music clashes.

so....

-Player brings 0 unit to location Y
-Player brings 0 unit to location X
-Player brings 0 unit to location Z
-Player brings 0 unit to location ....

-Clear 'Music Playing'
-Preserve Trigger.
Report, edit, etc...Posted by xtremebob on 2004-10-09 at 18:36:47
Kick ass! Thanks biggrin.gif. And another thanks for the quick response
Next Page (1)