[Trigger] Door open/close triggering! Need Help

Status
Not open for further replies.
Level 3
Joined
Sep 9, 2010
Messages
34
Hey guys I been working on this map, and I'm having trouble with the door triggering.

I am trying to make it so when a unit get close to the door (destructible), it will open.

As well when any unit is away from the door is will close.

So can anyone help me out, or link a guide to help me out.
:goblin_yeah:Thx for reading.
 
This?:

  • Events
    • Unit - A unit enters Your Region <gen>
  • Conditions
    • (Entering unit) Equal to Your Unit
  • Actions
    • Destructible - Open (Your Gate)
And the second trigger:

  • Events
    • Unit - A unit leaves Your Region <gen>
  • Conditions
    • (Leaving unit) Equal to Your Unit
  • Actions
    • Destructible - Close (Your Gate)
Just create a region where your gate is, when the unit enters the region it will open, when the unit leaves the region, the gate will close ect. Hope it helps:)
 
Status
Not open for further replies.
Back
Top