Hey, I was having trouble with one of my triggers for a map I'm working on:
Any suggestions?
EDIT: Perhaps I should elaborate as to what this is for. It's essentially a trap, where a unit would enter the region, the elevator walls close, the elevator drops, the unit dies, and the elevator resets. I'd like the unit to only die once though, and not an infinite number of times.
-
Pitfall 1
-
Events
-
Unit - A unit enters Pitfall 1 <gen>
-
-
Conditions
-
(Owner of (Triggering unit)) Not equal to Player 9 (Gray)
-
-
Actions
-
Wait 1.00 seconds
-
Destructible - Close All walls of Elevator (2) 0165 <gen>
-
Destructible - Set height of Elevator (2) 0165 <gen> to 1
-
Wait 1.00 seconds
-
Unit - Kill (Triggering unit)
-
Wait 3.00 seconds
-
Destructible - Set height of Elevator (2) 0165 <gen> to 3
-
Destructible - Open All walls of Elevator (2) 0165 <gen>
-
-
Any suggestions?
EDIT: Perhaps I should elaborate as to what this is for. It's essentially a trap, where a unit would enter the region, the elevator walls close, the elevator drops, the unit dies, and the elevator resets. I'd like the unit to only die once though, and not an infinite number of times.