- Joined
- May 7, 2007
- Messages
- 278
Hi, I'm creating a hero map, and I need to track how many of the total players are users, and not empty.
This doesn't seem to be working for me:
and i'm doing that for each player. It seems to at the start, think that all players are users, EXCEPT for the ones that I make computer when I start the game.
If anyone could help me figure out what I'm doing wrong, that'd be great. +rep
EDIT: NEVERMIND! I'm a complete retard. I was using the wrong condition.
This doesn't seem to be working for me:
-
Events
- Map initialization
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Player 1 (Red) controller) Equal to User
-
Then - Actions
- Set PlayersInGame = (PlayersInGame + 1.00)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
and i'm doing that for each player. It seems to at the start, think that all players are users, EXCEPT for the ones that I make computer when I start the game.
If anyone could help me figure out what I'm doing wrong, that'd be great. +rep
EDIT: NEVERMIND! I'm a complete retard. I was using the wrong condition.
Last edited: