HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Closing Ways?

06-09-2005, 07:22 AM#1
EnZ
I was just wondering what trigger i would require to close a way

So lets say that there are 4 people playing in a 6 player map

The map im making is Like X Hero Siege

How would i get the same effect they have where the creeps dont spawn from ways that dont have a human controlled player Protecting?

and if someone leaves it stops creeps spawning from there?
06-09-2005, 10:28 AM#2
Guest
I made a test map for the gate closing trigger and here's what you might find of use:

Open Gate
__Events
____Time - Elapsed game time is 0.00 seconds
__Conditions
__Actions
____Destructible - Open Demonic Gate (Horizontal) 0000 <gen>
____Trigger - Turn on (Spawn Trigger*)

Close Gate
__Events
____Player - Player 1 (Red) leaves the game
__Conditions
__Actions
____Destructible - Close Demonic Gate (Horizontal) 0000 <gen>
____Trigger - Turn off (Spawn Trigger*)

* This refers to your map's trigger that creates that gate's spawns.
06-09-2005, 10:57 AM#3
Guest
By the way, you can use the Player Slot Status Comparison condition to check if the slots are filled before opening each gate at the start of the game.

(Player 1 (Red) slot status) Equal to Is playing
06-09-2005, 11:49 PM#4
EnZ
Wooties

Thanx for the usefull Info

REP FOR YOU!! :D
06-10-2005, 01:22 AM#5
yuripro84
then you can do...
SPAWNING
Every XXX secs

If Gate XXX <gen> is open = true

Create XXX units in region XXX


OPENING GATES(im assuming youwant a gate to open on command by red?)
When Player 1 (Red) says -Open Way 1 as an exact match

Open Way 1 <gen>