• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Gate

Status
Not open for further replies.
Level 4
Joined
Feb 21, 2008
Messages
69
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
 
Level 13
Joined
Nov 4, 2006
Messages
1,237
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>
 
Level 17
Joined
Aug 13, 2007
Messages
1,584
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>
 
Level 13
Joined
Nov 4, 2006
Messages
1,237
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.
Top