- Joined
- Jan 13, 2008
- Messages
- 559
-
pvp spawn
-

Events
-

Conditions
-

Actions
-


Player Group - Pick every player in (All players) and do (Actions)
-



Loop - Actions
-




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





If - Conditions
-






((Picked player) controller) Equal to User
-






((Picked player) slot status) Equal to Is playing
-
-





Then - Actions
-






Player Group - Add (Picked player) to allPlayers
-
-





Else - Actions
-
-
-
-


For each (Integer A) from 1 to numberOfTeams, do (Actions)
-



Loop - Actions
-




Player Group - Remove all players from tmpTeam
-




Set tmp_integer = (Random integer number between 1 and 10)
-




Set TempLoc = (Random point in start_regions[tmp_integer])
-




For each (Integer B) from 1 to (playercount / numberOfTeams), do (Actions)
-





Loop - Actions
-






Set tmpPlayer = (Random player from allPlayers)
-






Player Group - Remove tmpPlayer from allPlayers
-






Player Group - Add tmpPlayer to tmpTeam
-






Player Group - Pick every player in tmpTeam and do (Actions)
-







Loop - Actions
-








Player - Make tmpPlayer treat (Picked player) as an Ally with shared vision
-
-
-






Unit - Create 1 Fist for tmpPlayer at TempLoc facing Default building facing degrees
-
-
-
-
-
-
Everything seems to work just fine except that the 2 players in the same "team" dont share vision or are allied.
playercount is the amount of players in the game and numberOfTeams is the selected teamcount.
Am i missing something?
