• 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] Gate open/close

Status
Not open for further replies.
Level 2
Joined
Jul 21, 2007
Messages
28
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.
 
Level 6
Joined
Nov 28, 2007
Messages
203
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?
 
Level 5
Joined
Jul 11, 2007
Messages
152
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.
Top