• 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.

[Solved] Help with music (+Rep)

Status
Not open for further replies.
Level 4
Joined
Jul 19, 2010
Messages
99
So i have this trigger (for my new zombie map) it is supposed to simulate you watching tv and i have 2 mp3's for this. I make the first mp3 stop so that the second one can start (works perfectly) and then the second one starts but even though i put stop music it starts over (which also makes no sense because its not a repeating trigger). How do i turn the second one off? Please help =)

  • Initialization
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Cinematic - Turn cinematic mode On for (All players)
      • Camera - Lock camera target for Player 1 (Red) to Survivor 0001 <gen>, offset by (0.00, 0.00) using Default rotation
      • Game - Display to (All players) the text: So late one night, ...
      • Sound - Play Footbal_Game <gen>
      • Wait 10.00 seconds
      • Game - Display to (All players) the text: And all of a sudden...
      • Wait 3.00 seconds
      • Sound - Stop music Immediately
      • Sound - Play Emergency_Alert_System__Zombie_Attack_II <gen>
      • Wait 125.00 seconds
      • Sound - Stop music Immediately
      • Sound - Clear the music list
      • Cinematic - Turn cinematic mode Off for (All players)
      • Trigger - Turn on DrainWater <gen>
      • Trigger - Turn on WaterCheck <gen>
      • Trigger - Turn on HealthDrain <gen>
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
For cinimatic environmental noises (like watching a TV) you should probably be using the sound system rather than music.

As for your problem... I think you need to queue up the next song before stopping the current because otherwise it will just stop the current and then immediatly start it again (as there is no other song to play).
 
Status
Not open for further replies.
Top