• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Music List!

Status
Not open for further replies.
Level 6
Joined
Aug 12, 2005
Messages
205
The trigger is this:

:arrow: Set the music list to doom starting with a random initial song
:arrow: Set the music list to dark agents starting with a random initial song
:arrow: Set the music list to credits starting with a random initial song
...

But only the last music (credits) is that plays always, when the music ends, it repeats agains...
Then, I think that only 1 music can be added to the music list per time, but... Why exists the "starting with a random initial song" if can have only 1 music in the list?

I want to play in my map a list of random musics, +/- 10 songs that are playing randomly, when a song ends, another random song starts to play, and when all the 10 songs are played, the list repeats all the musics.
How to do it?
 
Level 22
Joined
Jan 10, 2005
Messages
3,426
I use this trigger for random music in my campaign:

Events:
Time - Elapsed game time is 0.01 seconds
Conditions:
--------
Actions:
Sound - Stop (Last played sound) After fading
Sound - Stop music Immediately
If - Conditions:
(Random integer number between 1 and x(number of soundtracks) Equal to x
Then - Actions:
Sound - Play ...... <gen>
Wait ..... seconds(length of soundtrack (u can c that in the sound editor)
Trigger - Run *This Trigger* <gen> (ignoring conditions)
Else - Actions
If - Conditions
(Random integer number between 1 and x) Equal to x+1
Then - Actions
Sound - Play ...... <gen>
Wait ...... seconds
Trigger - *This Trigger* <gen> (ignoring conditions)
Else - Actions Etc.....
 
Status
Not open for further replies.
Top