[Trigger] Gate open/close

Status
Not open for further replies.
You're going to need a dummy ability, I think. And then using triggers detect when the ability is cast.

So Unit -- Start the effect of any ability

And then in the conditions, Ability being cast equal to <open gate>

And from there the events in the destructible category should work. It is called Open/Close/Destroy gate.
 
well, if u change the model, it must have an opening/closing animation :) does your model have it? and with the same name as the usual gate?
 
If this works for your map you could make a region where if you enter in front of it the gate opens and when you leave the region the gate closes. (The region would span before and after the gate)

If this doesn't work I would suggest making an ability for a unit (or building) where you take an ability like taunt and change it so that it effectively doesnt do anything but be cast and the your trigger will be
Event: Unit - Unit begins casting an ability
Conditions: Ability being cast equal to taunt1 (change to open gate or whatever)
Gate equal to alive
Actions: Open Destructible - Gate

And then do the same ability for closing too
Hope this helps!
 
Status
Not open for further replies.
Back
Top