- Joined
- Sep 25, 2013
- Messages
- 717
EDIT: Okay I solved it. I didn't realize I needed to not only check for if a player is a "user" but also check if they are "playing".
What am I doing wrong? Thank you!
-
Untitled Trigger 004
-
Events
-
Time - Elapsed game time is 1.00 seconds
-
-
Conditions
-
Actions
-
Set VariableSet tempInteger = 1
-
For each (Integer A) from 1 to 6, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Player(tempInteger)) controller) Equal to Computer
-
-
Then - Actions
-
Player Group - Add (Player(tempInteger)) to TeamAI_PlayerGroup
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Player(tempInteger)) controller) Equal to User
-
((Player(tempInteger)) slot status) Equal to Is playing
-
-
Then - Actions
-
Player Group - Add (Player(tempInteger)) to TeamReal_PlayerGroup
-
-
Else - Actions
-
-
-
-
Set VariableSet tempInteger = (tempInteger + 1)
-
-
-
Game - Display to (All players) the text: (AI Players Team: + (String((Number of players in TeamAI_PlayerGroup))))
-
Game - Display to (All players) the text: (Real Players Team: + (String((Number of players in TeamReal_PlayerGroup))))
-
-
What am I doing wrong? Thank you!
-
Untitled Trigger 004
-
Events
-
Time - Elapsed game time is 1.00 seconds
-
-
Conditions
-
Actions
-
Set VariableSet tempInteger = 1
-
For each (Integer A) from 1 to 6, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Player(tempInteger)) controller) Equal to Computer
-
-
Then - Actions
-
Player Group - Add (Player(tempInteger)) to TeamAI_PlayerGroup
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Player(tempInteger)) controller) Equal to User
-
-
Then - Actions
-
Player Group - Add (Player(tempInteger)) to TeamReal_PlayerGroup
-
-
Else - Actions
-
-
-
-
Set VariableSet tempInteger = (tempInteger + 1)
-
-
-
Game - Display to (All players) the text: (AI Players Team: + (String((Number of players in TeamAI_PlayerGroup))))
-
Game - Display to (All players) the text: (Real Players Team: + (String((Number of players in TeamReal_PlayerGroup))))
-
-
Last edited: