HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Check players

08-30-2003, 06:06 AM#1
kl33r
Is there a way to create a trigger so that if there is only 1 player in the game it will set the enemies handicap to 70% or something?

Thanks
08-30-2003, 11:32 AM#2
MMayfield45
Try this and edit it to the way you want.
Use it when you want to do the check - At the beginning of the map 'Map initialization'.

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
---If - Conditions

----- (Number of players in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Not equal to Computer)))) Equal to 1
---Then - Actions
----- Player - Set Player 11 (Dark Green) handicap to 70.00%
---Else - Actions
08-30-2003, 01:30 PM#3
kl33r
Thanks. it works well