Warcraft III resources & community, 2003–2006 · archived

Quick Help - Triggering

9 posts
#1

Quick Help - Triggering

I've got a couple of pretty quick questions:

1)How to make doors open that a unit owns. I know this is through triggering, but i've pretty much messed with everything, including animation.

2) How to make a unit who gets to low health change ownership to the unit attacking him. I've tried millions of times, it doesnt freaking work!!! AHHH

Thank you for your time. I hope i can get help soon = /
#2
1) replace your 'gate' with a dummy unit that looks the same, but has no pathing.

2) Unit is Attacked
Conditions
Life of Triggering Unit less than or equal to blah
Actions
change ownership of Triggering Unit to owner of Attacking Unit, and so on
#3
Alright, so, The gate problem:

Choose a unit that has no pathing, and replace the model with the gate? Still.. how to open it? Triggers < Animation?
#4
Since the gate's open animation is Stand -> Alternate, set the Required Animation Names on the unit to alternate
#5
Why are you suggesting him to use an unit as the gate? Im bit confused.

Just use the normal gate (destructible). And you can open/close it with an action found under category "destructible" - "open/close/destroy gate"
#6
it needs to be buildable/repairable
#7
He specifically stated that a unit owns.
#8
That's bad english, couldn't understand it.

If you want the gate to be buildable, you can use a fake building with the gate model and after its complition replace it with the real gate.
#9
/repairable