- Joined
- Nov 5, 2008
- Messages
- 536
Oh, one more thing. I wonder if anyone has an effective way to seperate players into two teams. (player groups)
I use this trigger:
It is not good at all because if there are fewer then 7 players they all get in the same team.
I wonder how I can make so 50% of the players get in one team (playergroup A) and 50% get in the other playergroup, no matther how many players who play the game. If there are 5 players, 3 in one team, 2 in the other. 14 players, 7 in team A and 7 in team B, etc.
Any suggestions?
I use this trigger:
-
Team
-
Events
-
Game - Map initialization
-
-
Local Variables
-
Team1 = (Empty player group) <Player Group>
-
-
Conditions
-
Actions
-
Player Group - Add player 1 to Team1
-
Player Group - Add player 2 to Team1
-
Player Group - Add player 3 to Team1
-
Player Group - Add player 4 to Team1
-
Player Group - Add player 5 to Team1
-
Player Group - Add player 6 to Team1
-
Player Group - Add player 7 to Team1
-
Player - Make all players in Team1 treat each other as Ally With Shared Vision
-
-
It is not good at all because if there are fewer then 7 players they all get in the same team.
I wonder how I can make so 50% of the players get in one team (playergroup A) and 50% get in the other playergroup, no matther how many players who play the game. If there are 5 players, 3 in one team, 2 in the other. 14 players, 7 in team A and 7 in team B, etc.
Any suggestions?