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

[Trigger] Want trigger help

Status
Not open for further replies.
Level 3
Joined
Mar 13, 2007
Messages
51
Hey, i've been working on a trigger like, when all my 6 ancient wendigo's die, that 2 platforms raise outta the water (i know the platform part, but i dont know how to make the trigger check if the 6 specific units are dead)
 
Level 6
Joined
Feb 2, 2005
Messages
205
Well there are two ways of checking it one cheap and advanced one.

The Event will be "A Unit Dies"

The Condition in the easy will only work if the Units are in the map from start on, AND do not respawn. You will check in the Condition the if the Prelaced Units are dead = true odr alive = false.

The Advanced would be checking an Unit Array.

So which way you want/is need for your map?
 
Level 6
Joined
Feb 2, 2005
Messages
205
Okay the Trigger Event and Condition should like this

  • Untitled Trigger 001
    • Events
      • Unit - A unit Dies
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • (MyUnit 0000 <gen> is alive) Equal to False
    • Actions
To get the Unit Variable you have to click on the "Select a Unit" Button. To get there choose in the Condition Boolean Comparision, then click on "Structe bla", choose "Unit - Unit is alive" from dropdown. Now Click on "Triggering Unit", there you are. Add all six Unit like this in the AND Conditions and your Trigger is done.
 
Status
Not open for further replies.
Top