- Joined
- Nov 3, 2013
- Messages
- 989
Ok so earlier I made a real stupid thread because I didn't get what was going on (I still don't know why it isn't working)
Now I think I found what's wrong, problem being I don't understand why it doesn't work.
So people know nothing funny is going on elsewhere
Now I think I found what's wrong, problem being I don't understand why it doesn't work.
-
Unit Group - Pick every unit in CP_UnitGroup_InZone[Temp_Int[0]] and do (Actions)
-
Loop - Actions
- Set Temp_Unit[0] = (Picked unit)
- Set Temp_Player[0] = (Owner of Temp_Unit[0])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Temp_Player[0] is in PlayerGroup_Team[1]) Equal to True
-
Then - Actions
- Unit Group - Add Temp_Unit[0] to CP_UnitGroup_InTeam[1]
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Temp_Player[0] is in PlayerGroup_Team[2]) Equal to True
-
Then - Actions
- Unit Group - Add Temp_Unit[0] to CP_UnitGroup_InTeam[2]
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Temp_Player[0] is in PlayerGroup_Team[3]) Equal to True
-
Then - Actions
- Unit Group - Add Temp_Unit[0] to CP_UnitGroup_InTeam[3]
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Temp_Player[0] is in PlayerGroup_Team[4]) Equal to True
-
Then - Actions
- Unit Group - Add Temp_Unit[0] to CP_UnitGroup_InTeam[4]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Loop - Actions
So people know nothing funny is going on elsewhere
-
Unit Group - Pick every unit in CP_UnitGroup_InZone[Temp_Int[0]] and do (Actions)
-
Loop - Actions
- Set Temp_Unit[0] = (Picked unit)
- Set Temp_Player[0] = (Owner of Temp_Unit[0])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Temp_Player[0] is in PlayerGroup_Team[1]) Equal to True
-
Then - Actions
- Unit Group - Add Temp_Unit[0] to CP_UnitGroup_InTeam[1]
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Temp_Player[0] is in PlayerGroup_Team[2]) Equal to True
-
Then - Actions
- Unit Group - Add Temp_Unit[0] to CP_UnitGroup_InTeam[2]
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Temp_Player[0] is in PlayerGroup_Team[3]) Equal to True
-
Then - Actions
- Unit Group - Add Temp_Unit[0] to CP_UnitGroup_InTeam[3]
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Temp_Player[0] is in PlayerGroup_Team[4]) Equal to True
-
Then - Actions
- Unit Group - Add Temp_Unit[0] to CP_UnitGroup_InTeam[4]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Loop - Actions
- Set Temp_Int[1] = (Number of units in CP_UnitGroup_InTeam[1])
- Set Temp_Int[2] = (Number of units in CP_UnitGroup_InTeam[2])
- Set Temp_Int[3] = (Number of units in CP_UnitGroup_InTeam[3])
- ETC...
- Game - Display to (All players) the text: (String(Temp_Int[1]))