- Joined
- Jun 18, 2008
- Messages
- 28
Okay, for my map (Dungeon Companion) it's using elevators, and I am not sure how to code it properly. Been searching for tutorials on this and still nothing.
Here is my script as of now:
Thanks, Phoenix
Here is my script as of now:
-
Elevator 1
-
Events
-
Unit - A unit enters Footswitch 1 <gen>
-
-
Conditions
-
Actions
-
Destructible - Kill Foot Switch 0012 <gen>
-
Destructible - Set height of Elevator (2) 0000 <gen> to 2
-
Destructible - Close All walls of Elevator (2) 0000 <gen>
-
Wait 1.00 seconds
-
Destructible - Open South wall of Elevator (2) 0000 <gen>
-
Wait 1.00 seconds
-
Destructible - Open North wall of Elevator (2) 0000 <gen>
-
-
-
Elevator 1 II
-
Events
-
Unit - A unit leaves Footswitch 1 <gen>
-
-
Conditions
-
Actions
-
Destructible - Resurrect Foot Switch 0012 <gen> with (Max life of (Last created destructible)) life and Hide birth animation
-
Destructible - Set height of Elevator (2) 0000 <gen> to 1
-
Destructible - Close All walls of Elevator (2) 0000 <gen>
-
Wait 1.00 seconds
-
Destructible - Open All walls of Elevator (2) 0000 <gen>
-
-
Thanks, Phoenix