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

Gate

Status
Not open for further replies.
what do u mean im trying 2 find out myself
i wanted 2 make a gate (player controled) and make it have ability affected by triggers and when you click it
it opens n closes when you click again
this trigger 4 gates player controlled is used on maps like
village builder gold n ect
 
do you use it as a playerowned building or as a doodad?
if you use it as playerowned building, i'm not sure if there is a trigger to open it
if you use the doodad, use following trigger.

event: choose any (e.g. unit enters a region)
condition:not needed
action: destructable --> open/close/destroy gate --> open <your gate>
 
Here you go. Make a gate (destructible, not building) and place a special unit near it that has the Open and Close abilities (base them off thunder clap, 0 damage, 0% slow.)

Do the following triggers:

  • Open Gate
    • Events
      • Unit - A unit Starts the effect of ability
    • Conditions
      • Ability comparison - (Ability Being Cast) equal to Open
    • Actions
      • Destructible - Open Gate <select the gate>
  • Close Gate
    • Events
      • Unit - A unit Starts the effect of ability
    • Conditions
      • Ability comparison - (Ability Being Cast) equal to Close
    • Actions
      • Destructible - Close Gate <select the gate>
 
k, try this, if the gate is open, use play unit death alternate animation, which is an open gate. then you have to find sth that units can walk through it, i guess there is a trigger to do that, but i don't know where, must be sth with make building walkable
 
Status
Not open for further replies.
Back
Top