• 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] Sound problems

Status
Not open for further replies.
Level 7
Joined
Jul 9, 2012
Messages
159
Hello hive members
I have this problem with this map that i'm creating. I wan't a soundfile to start at each bossfight, however, the sound only plays at the very first boss.

Here is the trigger I use:
  • Music as Sipron the Deadly
    • Events
      • Unit - Sipron the Deadly 0048 <gen> Is attacked
    • Conditions
    • Actions
      • Trigger - Turn off (This trigger)
      • Sound - Play 30_War <gen>
 
Level 7
Joined
Jul 9, 2012
Messages
159
Thanks for the tip. I tried a few things with the 'Stop Sound', and atlast I actually worked fine. :)
My trigger looks like this now (btw, I made every boss 'Ancient')
  • EnableBossSound START
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Enable_BossSound = True
  • Play BossSound
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacked unit) is An Ancient) Equal to True
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Enable_BossSound Equal to True
        • Then - Actions
          • Set Enable_BossSound = False
          • Sound - Play 30_War <gen>
        • Else - Actions
          • Do nothing
  • EnableBossSound
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is An Ancient) Equal to True
    • Actions
      • Sound - Stop 30_War <gen> Immediately
      • Set Enable_BossSound = True
But thanks for all, you helped me with some ideas! :thumbs_up:
 
Status
Not open for further replies.
Top