• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] I need some help over here.

Status
Not open for further replies.
Level 1
Joined
Dec 3, 2007
Messages
2
Hello im sengarath im new in this website, well im not new, i been downloading maps for a long time but i just Registered. Well..

Im trying to make a Whole new experience ORPG map, it will be REALLY cool.

I need help, i dont know how to make a trigger or something to open the City doors and close em.

Can someone help me? Thanks
 
just say both of them,

For "get too close open"

make a region where your gate is and make it so that a unit can be standing in that region from both sides of the gate.

Trigger for opening it would be

event - unit enters region(blah)

action - Destructible, open gate (blah)


for close trigger


event - Unit leaves region (same blah)

action - Destructible, Close Gate (same blah)


if its for lever,


event - destructible dies (if there is something like that i dont have WE right now)
condition - destructible type = lever
action - destructible, open gate (blah)
 
Level 13
Joined
Dec 3, 2005
Messages
501
Well if you want to be able to close and open the door through a command or ability. Make a Door and an Opened Door. The open door having no pathing then:

Event - Unit finishes casting OPEN ABILITY/player types message -open
Conditions - Unit equal to Door
Actions -
Play doors alternate death animation
Replace door with opened door
 
Status
Not open for further replies.
Top