Elevator Tuteral
SilverHawk said:
OOOOHHHKAY im back

lol ok i want to beat this guy to the elevator tuteral or however you spell it...
Ok heres a trigger that WORKS lol ive tested this extensivly...
function Trig_ElevatorA_Actions takes nothing returns nothing
call TriggerSleepAction( 2 )
call ChangeElevatorHeight( gg_dest_DTrf_0272, 3 )
call ChangeElevatorWalls( false, bj_ELEVATOR_WALL_TYPE_SOUTH, gg_dest_DTrf_0272 )
call ChangeElevatorWalls( true, bj_ELEVATOR_WALL_TYPE_NORTH, gg_dest_DTrf_0272 )
call TriggerSleepAction( 2 )
call ChangeElevatorHeight( gg_dest_DTrf_0272, 1 )
call ChangeElevatorWalls( true, bj_ELEVATOR_WALL_TYPE_ALL, gg_dest_DTrf_0272 )
endfunction
//===========================================================================
function InitTrig_ElevatorA takes nothing returns nothing
set gg_trg_ElevatorA = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_ElevatorA, gg_rct_Region_006 )
call TriggerAddAction( gg_trg_ElevatorA, function Trig_ElevatorA_Actions )
endfunction
I am sorry that i put this in jass but it helps newbies from tampering with a map.
hmmmm let me put this in terms with newbs ill do my best cause im 2 last to turn world ed on
Event: A Unit enters Elevator <gen>
Condition: (Triggering Unit(is Hero)) Egual to True
Action: Destructable

estructible - Set height of Elevator (1) 0272 <gen> to 3
You can change the elevator this to urs and u can change the hight to 1 2 or keep it at 3...
To change it back with the same trigger u can just us
Event: A Unit enters Elevator <gen>
Condition: (Triggering Unit(is Hero)) Egual to True
Action: Destructible - Set height of Elevator (1) 0272 <gen> to 3
Wait 3:00 Seconds
Destructible - Set height of Elevator (1) 0272 <gen> to 1
AND there u go
