• 🏆 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!

Trigger event occuring when it is not supposed to

Status
Not open for further replies.
Level 2
Joined
Apr 6, 2010
Messages
13
Hey guys, i'm attempting to recreate the World of Warcraft, Icecrown Citadel 10 Lord Marrowgar encounter and pretty much i'm attempting to design his "when he kills someone" event, he has two sound files that occur when he kills someone, they occur on rotation, one at a time. However, for some reason which I cannot figure out, they are both happening at the same time =S
Please note that Sound Slayer Marrowgar02 is initially turned off, but still enabled.
Any ideas?

  • Sound Slay Marrowgar01
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Killing unit) Equal to Guardian of the Lower Spire 0001 <gen>
        • Then - Actions
          • Sound - Play IC_Marrowgar_Slay01 <gen> at 100.00% volume, attached to Guardian of the Lower Spire 0001 <gen>
          • Game - Display to (All players) the text: Lord Marrowgar: Mor...
          • Trigger - Turn on Sound Slay Marrowgar02 <gen>
          • Trigger - Turn off (This trigger)
        • Else - Actions
  • Sound Slay Marrowgar02
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Killing unit) Equal to Guardian of the Lower Spire 0001 <gen>
        • Then - Actions
          • Sound - Play IC_Marrowgar_Slay02 <gen> at 100.00% volume, attached to Guardian of the Lower Spire 0001 <gen>
          • Game - Display to (All players) the text: Lord Marrowgar: Lan...
          • Trigger - Turn on Sound Slay Marrowgar01 <gen>
          • Trigger - Turn off (This trigger)
        • Else - Actions
 
Last edited:
Level 37
Joined
Mar 6, 2006
Messages
9,240
You could use only one trigger:

  • Sound Slay Marrowgar01
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Killing unit) Equal to Guardian of the Lower Spire 0001 <gen>
        • Then - Actions
          • If - Conditions
            • Random number between 1 and 2 equal to 1
          • Then - Actions
            • Play sound 1
          • Else - Actions
            • Play sound 2
        • Else - Actions
 
Status
Not open for further replies.
Top