- Joined
- Oct 20, 2012
- Messages
- 3,075
Yup, as the title says, I'm supposedly making a team sorter where, when a dialog button is clicked, it sorts out all 12 players into either 2 teams, 6 teams, or Free for All.
Yes, I know, the trigger is empty. I couldn't think of any ways to distribute the players evenly and randomly. That's where I need help from you guys. How can I do that exactly, without using too many trigger actions?
-
Button Teams Of 6
-
Events
- Dialog - A dialog button is clicked for A_GAME_TS_Dialog
-
Conditions
- (Clicked dialog button) Equal to A_GAME_TS_DialogButtonTeam
-
Actions
-
For each (Integer A) from 1 to 2, do (Actions)
-
Loop - Actions
-
For each (Integer B) from 1 to 6, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Then - Actions
- Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer B) from 1 to 6, do (Actions)
-
Loop - Actions
- Game - Unpause the game
-
For each (Integer A) from 1 to 2, do (Actions)
-
Events