• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Elevator Usage.

Status
Not open for further replies.
Level 8
Joined
Apr 17, 2017
Messages
316
i managed to do it for a single unit. But when more than one unit enters a regions which triggers the elevator, at the same time the other one got stuck inside. I need help.
Region 1 Enter
Events
Unit - A unit enters Region 000 <gen>
Conditions
Actions
Destructible - Open West wall of Elevator (2) 0004 <gen>
Destructible - Open South wall of Elevator (2) 0004 <gen>
Destructible - Set height of Elevator (2) 0004 <gen> to 3
Trigger - Turn on Region 1 Leave <gen>


Region 1 Leave
Events
Unit - A unit leaves Region 000 <gen>
Conditions
Actions
Destructible - Close West wall of Elevator (2) 0004 <gen>
Destructible - Close South wall of Elevator (2) 0004 <gen>
Destructible - Set height of Elevator (2) 0004 <gen> to 1
Trigger - Turn off (This trigger)
 
You may want to put in some waits around.
Also, on the leave region trigger, add condition that there should be 0 units in the region.

You have to consider ALL possible combinations and user inputs when coding.

regards
-Ned
 
Status
Not open for further replies.
Back
Top