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