freekin gate opening

Status
Not open for further replies.

dukewintermaul_rcks

D

dukewintermaul_rcks

ive been trying for like an hour to get this stupid gate to open when my hero attacks the lever. i have two gates, one behind the other and i would like them both to open when i right click with my hero on the lever and then close when i click it again


plz help
 
hey ya

Make a trigger like that

( at beginning - map initialisation )

Set Lever[1] = Level 0000 <gen> ( youre lever )
Set Gates[1] = Door (horizontal) 0001 <gen>
( Your Gate 2 )
Set Gates[2] = Door (horizontal) 0002 <gen>
( Your Gate 2 )
Destroyable - Make Gates[1] Invulnerable
Destroyable - Make Gates[2] Invulnerable

Now make a new trigger

Destroyable - A destructible within (Playable map area) dies

(Dying destructible) Gleich Lever[1]

Destroyable - Resurrect Lever[1] with (Max life of (Dying destructible)) life and Zeigen birth animation
Destroyable - open Gates[1]
Destroyable - open Gates[2]
Wait 5.00 seconds
Destroyable - close Gates[1]
Destroyable - close Gates[2]

Variables
~~~~~~~~~

Lever [ Destroyable ] - Array 1
Gates [ Destroyable ] - Array 2

Hope that helps!
 
Status
Not open for further replies.
Back
Top