HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help! Trigger Assistance Please

02-24-2006, 07:22 PM#1
GordonBBB
I have a four player map. In the editor I placed one unit for each player. What I want to do is make a trigger that will remove those units from the game if the corresponding player is not in the game. How do I do this?
02-24-2006, 07:35 PM#2
emjlr3
what is the trigger that you have now, and Ill see what I can do to help you fix it
02-24-2006, 07:40 PM#3
Blade.dk
Trigger:
Melee Initialization
Collapse Events
Map initialization
Conditions
Collapse Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Player 1 (Red) slot status) Not equal to Is playing
Collapse Then - Actions
Unit - Remove (My Unit) from the game
Else - Actions

Like that, just do the check for all players.
02-24-2006, 07:48 PM#4
Jacek
And put it in periodic event also if you want ingame check.
02-24-2006, 08:12 PM#5
GordonBBB
Thanks, guys