• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

trigger/conditions help

Status
Not open for further replies.

Triaxx Menethil

T

Triaxx Menethil

im trying to do 3 things

1. need to make a door invulnerable and unopenable until a specific unit comes close to it
2. make said unit unusable until all units in a specific room are dead
3. make it so multiple events need to be completed for one side to win(not just one of them). these events are
-a specific gate is destroyed
-specific hero #1 dies
-specific hero #2 dies
-specific hero #3 dies
-specific hero #4 dies

it would also be great if these said hero units were invulnerable to everyone but a specific unit(same unit from earlier)

i need someone to tell me what to input into the triggers to get this to work
 
1. if you want the door to be invincible, just make the people that walk up to hit unable to target debris (considering the fact that u mean gate) and gates can only be openable by trigger so, for the condition, just put that entering unit not equal to one of your voided units.

2,.
  • Trigger 001
  • Events : Map Initialization
  • Conditions
  • Actions : Pause (yourunit)
  • Trigger 002
  • Events : A unit dies
  • Conditions : Number of units in (your room) owned by (the enemy) equal to (0) equal to true
  • Actions : Unpause (your unit)
3.
  • Trigger 003
  • Events : A unit dies
  • Conditions : Unit-type equal to (unit 1, 2, 3, or 4)
  • Actions : If (all conditions are true) then do (then actions) else do (else actions)
  • If - Conditions
  • (Condition1) Equal to True
  • (Condition2) Equal to True
  • (Condition3) Equal to True
  • (Condition4) Equal to Ture
  • Then - Actions
  • Victory for that team
  • Else - Actions
  • Set (Condition#) to True
  • Trigger 004
  • Events : A unit is attacked
  • Conditions : Unit-type being attacked equal to (yourunit)
  • Unit-type attacking not equal to (yourspecificattackingunit)
  • Actions : Set life of (yourunit) to 100%
for #3, ud have to remove the condition for the number.. etc if ur finishing 3, ud have to remove (Condition3) equal to true
 
Status
Not open for further replies.
Back
Top