Warcraft III resources & community, 2003–2006 · archived

freekin gate opening

4 posts
#1

freekin gate opening

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
#2
i can make u to open and close gates with an ability
but my englsih isnt that good, so i could make it for u if u want... i dont want any credits in ur map or anything else if u dont want i just want to help u ;)
#4

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!