• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

gate help

Status
Not open for further replies.
Level 5
Joined
Mar 21, 2007
Messages
155
hi i am making a map and would like to know, if its not too complicated, how to open a gate using an ability.
(i.e you select the gate and theres an ability to open it, and when opened, theres an ability to close it.)
i've seen this on draculas curse and 2 other maps and i think it would greatly improve my map as i have quite a lot of gates.
 
Level 4
Joined
Jul 12, 2007
Messages
116
  • Gate
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Your 1. ability
        • Then - Actions
          • Destructible - Open Your Gate
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Your 2. ability
        • Then - Actions
          • Destructible - Close Your Gate
        • Else - Actions

Its very simple. :thumbs_up:
 
Level 4
Joined
Jul 12, 2007
Messages
116
I tough that you want to give the ability to an simple unit.

Its hard to explain how should this work whit an unit, but ok i help.
 
Last edited:
Level 4
Joined
Jul 12, 2007
Messages
116
Sorry i could not make it as you wanted, but this should work to. :thumbs_up:

(just go to the gate whit the footmen)
 

Attachments

  • Warcraft 3 map.w3x
    9.5 KB · Views: 51
Level 4
Joined
Jul 12, 2007
Messages
116
And i this ok for you (i could make it whit laver, whit reacting to unit enters event..., but i cant me that the gate as the open/close ability just an unit can have ability and if i change the model of an unit i don`t know what`s the animation name of stand alternate (open)).
 
Status
Not open for further replies.
Top