• 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] Trobleshooting a beginner's trigger

Status
Not open for further replies.
Level 6
Joined
Jul 30, 2008
Messages
103
I'm a beginner WE user,recently i have wrote the following trigger
but this trigger doesn't work
any help please?
*NOTE:give rep to who reply
Thanks
  • Human Victory
    • Events
      • Unit - A unit Dies
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • (Dying unit) Equal to Naga Citadel 0011 <gen>
          • (Dying unit) Equal to Naga Citadel 0273 <gen>
          • (Dying unit) Equal to Naga Citadel 0269 <gen>
          • (Dying unit) Equal to Naga Citadel 0245 <gen>
    • Actions
      • Unit - Pause all units
      • Wait 2.00 seconds
      • Game - Display to (All players) for 20.00 seconds the text: All enemy has been ...
      • Wait 20.00 seconds
      • Game - Victory Player 10 (Light Blue) (Show dialogs, Show scores)
 
Last edited:
Level 16
Joined
Mar 3, 2006
Messages
1,564
You are doing it wrong. I will write the correct trigger soon.

Add a variable of type UnitGroup named "NagaCitadels"

  • Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit Group - Add Naga Citadel 0011 <gen> to NagaCitadels
      • Unit Group - Add Naga Citadel 0273 <gen> to NagaCitadels
      • Unit Group - Add Naga Citadel 0269 <gen> to NagaCitadels
      • Unit Group - Add Naga Citadel 0245 <gen> to NagaCitadels
  • All Citadels Destroyed
    • Events
      • Unit - A unit Dies
    • Conditions
      • (All units of NagaCitadels are dead) Equal to True
    • Actions
      • Unit - Pause all units
      • Wait 2.00 seconds
      • Game - Display to (All players) for 20.00 seconds the text: All enemy has been ...
      • Wait 20.00 seconds
      • Game - Victory Player 10 (Light Blue) (Show dialogs, Show scores)
 
Status
Not open for further replies.
Top