Warcraft III resources & community, 2003–2006 · archived

Somebody Proffessionel Help Me Please!

6 posts
#1

Somebody Proffessionel Help Me Please!

How do I make gates to open and close everytime a unit get close to gates?
#2
Because this question is EXTREMELY stupid, I am only going to give you 2 clues
1: regions
2: destructible option relating to gates
#3
a unit enter region (your region)
destructible - open gate1 (your gate)
wait 30.00
destructible - close gate1
#4
You can also check if there is no unit left in the region every second or so, then close it again, better than letting it stay open half a minute.

And, yes, pretty newbish question.
#5
1) a unit enter region (your region)
destructible - open gate

2) a unit leave region (your region)
destructible - close gate
#6
Come on guys, just coz hes new theres no reason to call him stupid

But yeah, u'll need to write a trigger which makes it so that when a unit enters x region the gate opens, and another that says if a unit leaves x region the gate closes.

NOTE: write a condition into the triggers that checks if the gate is alive: otherwise someone could destroy the gate, but then when someone leaves the region the gate will re-appear..

Bort