HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Questions about Gates and how to change them?

01-06-2003, 04:24 PM#1
Tiki
Ya,

How would you make a gate with a certain amount of health?
I want it to take a while for the gate to be destroyed how would i accomplish this?

I also nned to know this... noob question... how do you make the gates open when an allied team walks near it and the enemy team cant go through?
01-06-2003, 07:59 PM#2
Guest
first question: On map initialization set it's max health as an action

second question: i think there's something in one of the custom editors to do this, goldenurg's probably, a lock/unlock trigger. :( There is also another way, put a region under the gate, then make this trigger:

Event: A unit enters (region)

Conditions: Boolean Comparison: unit - (triggering-unit) belongs to an ally of (player)

Actions: Open (gate)

then

Event: A unit leaves (region)

Conditions: Boolean Comparison: unit - (triggering-unit) belongs to an ally of (player)

Actions: Close (gate)

where (region) is the region under the gate and (player) is the player you want to control the gate
01-07-2003, 02:52 PM#3
Tiki
alright thnx, ill try it today