• 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] 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.
 
Level 5
Joined
Jan 4, 2007
Messages
103
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.
Top