i'm helping my clan make a game mode dialog box for our maps. it will have 4 options total, FFA, full house, random teams and 1v1, and i'm currently have trouble with my random team setting.
assuming there are 12 people in the game, i want to be able to evenly split them into random teams of 2, 3, 4, 5, or 6 players per team, but when i tested these, it would create the right number of teams, but there would not be an even number of players on each team.
for my 6-player team trigger, i have the following.
thanks in advance!
assuming there are 12 people in the game, i want to be able to evenly split them into random teams of 2, 3, 4, 5, or 6 players per team, but when i tested these, it would create the right number of teams, but there would not be an even number of players on each team.
for my 6-player team trigger, i have the following.
-
TEAMS SIX 2
-
Events
-
Dialog - A dialog button is clicked for TEAMMENU
-
-
Conditions
-
(Clicked dialog button) Equal to TEAMSIX
-
-
Actions
-
Trigger - Turn off AUTOSELECT <gen>
-
Game - Display to (All players) the text: Player 1 has chosen...
-
Wait 10.00 seconds
-
Leaderboard - Create a leaderboard for (All players) titled |cffff0000Random Te...
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
Player Group - Add (Random player from (All players)) to team6_1
-
Player Group - Add (Random player from (All players)) to team6_2
-
Player Group - Add (Random player from (All players)) to team6_1
-
Player Group - Add (Random player from (All players)) to team6_2
-
Player Group - Add (Random player from (All players)) to team6_1
-
Player Group - Add (Random player from (All players)) to team6_2
-
Player Group - Add (Random player from (All players)) to team6_1
-
Player Group - Add (Random player from (All players)) to team6_2
-
Player Group - Add (Random player from (All players)) to team6_1
-
Player Group - Add (Random player from (All players)) to team6_2
-
Player Group - Add (Random player from (All players)) to team6_1
-
Player Group - Add (Random player from (All players)) to team6_2
-
-
-
Player Group - Make team6_1 treat (All players) as an Enemy
-
Player Group - Make team6_2 treat (All players) as an Enemy
-
Player Group - Make team6_1 treat team6_1 as an Ally with shared vision
-
Player Group - Make team6_2 treat team6_2 as an Ally with shared vision
-
-
thanks in advance!