• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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,232
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