Hey, i need help to create a multiboard for a trigger in a Sheep Tag map.
The trigger i need help with is called VERSUS. The host types -versus X Y and X and Y will be the captains for 2 different teams. And then the captains gotta pick the players they want to their team. And to make it fair ive made the picks in this order: 1-2-2-1-1-2-1-2-1-2. So captain nr 1 will probably get the best player to his team. And then captain 2 will get the 2nd and 3rd best player, and so on!
And now for the thing i need help with. I want to create a multiboard that looks like this.
So 1 column with players picked to Sheepteam(team1) and 1 column with players that are not picked yet, and 1 column with players picked to wolfteam(team2).
Notice that i wrote -draft 2 which means i picked player 2 to my team. So it's yellows turn to pick at the time of that picture. And when the teams are set, the game will start, and the multiboard should be removed.
I got 0 experience with creating multiboards so plz help!
Here's the trigger if needed!
The trigger i need help with is called VERSUS. The host types -versus X Y and X and Y will be the captains for 2 different teams. And then the captains gotta pick the players they want to their team. And to make it fair ive made the picks in this order: 1-2-2-1-1-2-1-2-1-2. So captain nr 1 will probably get the best player to his team. And then captain 2 will get the 2nd and 3rd best player, and so on!
And now for the thing i need help with. I want to create a multiboard that looks like this.
So 1 column with players picked to Sheepteam(team1) and 1 column with players that are not picked yet, and 1 column with players picked to wolfteam(team2).
Notice that i wrote -draft 2 which means i picked player 2 to my team. So it's yellows turn to pick at the time of that picture. And when the teams are set, the game will start, and the multiboard should be removed.
I got 0 experience with creating multiboards so plz help!
Here's the trigger if needed!
Trigger:
- Versus
- Events
- Player - Player 1 (Red) types a chat message containing -versus as A substring
- Conditions
- (Triggering player) Equal to GameController
- (Substring((Entered chat string), 1, 7)) Equal to -versus
- Actions
- Trigger - Turn off Switch <gen>
- Trigger - Turn on Cancel <gen>
- Trigger - Turn off ModeStart <gen>
- Trigger - Turn off ModeRandom <gen>
- Trigger - Turn off ModeReverse <gen>
- Trigger - Turn off ModeFair <gen>
- Trigger - Turn off Pick <gen>
- Trigger - Turn off View <gen>
- Set TempInt6 = 0
- Set TempInt7 = 0
- Player Group - Pick every player in (All players) and do (Player Group - Add (Picked player) to NotChosenYet)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Integer((Substring((Entered chat string), 9, (Length of (Entered chat string)))))) Greater than or equal to 1
- (Integer((Substring((Entered chat string), 9, (Length of (Entered chat string)))))) Less than or equal to 12
- Then - Actions
- Set TempInt6 = (Integer((Substring((Entered chat string), 9, (Length of (Entered chat string))))))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Player(TempInt6)) slot status) Equal to Is playing
- Then - Actions
- Player Group - Pick every player in (Player group((Player(TempInt6)))) and do (Actions)
- Loop - Actions
- Set Captain1 = (Picked player)
- Player Group - Remove Captain1 from NotChosenYet
- Player Group - Add Captain1 to SheepPlayers
- Loop - Actions
- Player Group - Pick every player in (Player group((Player(TempInt6)))) and do (Actions)
- Else - Actions
- Set Captain1 = (Random player from Group1)
- Player Group - Remove Captain1 from NotChosenYet
- Player Group - Add Captain1 to SheepPlayers
- If - Conditions
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Integer((Substring((Entered chat string), 11, (Length of (Entered chat string)))))) Greater than or equal to 1
- (Integer((Substring((Entered chat string), 11, (Length of (Entered chat string)))))) Less than or equal to 12
- Then - Actions
- Set TempInt7 = (Integer((Substring((Entered chat string), 11, (Length of (Entered chat string))))))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Player(TempInt7)) slot status) Equal to Is playing
- Then - Actions
- Player Group - Pick every player in (Player group((Player(TempInt7)))) and do (Actions)
- Loop - Actions
- Set Captain2 = (Picked player)
- Player Group - Remove Captain2 from NotChosenYet
- Player Group - Add Captain2 to WolfPlayers
- Loop - Actions
- Player Group - Pick every player in (Player group((Player(TempInt7)))) and do (Actions)
- Else - Actions
- If - Conditions
- Else - Actions
- Set Captain2 = (Random player from Group2)
- Player Group - Remove Captain2 from NotChosenYet
- Player Group - Add Captain2 to WolfPlayers
- If - Conditions
- Set Captain1int = 1
- Game - Display to (All players) the text: ((Name of Captain1) + (and + ((Name of Captain2) + are now captains!)))
- Trigger - Turn off Versus <gen>
- Trigger - Turn on Cap1 <gen>
- Events
Trigger:
- Cap1
- Events
- Player - Player 1 (Red) types a chat message containing -draft as A substring
- Conditions
- (Triggering player) Equal to Captain1
- Or - Any (Conditions) are true
- Conditions
- Captain1int Equal to 1
- Captain1int Equal to 4
- Captain1int Equal to 5
- Captain1int Equal to 7
- Captain1int Equal to 9
- Conditions
- Actions
- Set TempInt2 = 0
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Integer((Substring((Entered chat string), 8, (Length of (Entered chat string)))))) Greater than or equal to 1
- (Integer((Substring((Entered chat string), 8, (Length of (Entered chat string)))))) Less than or equal to 12
- Then - Actions
- Set TempInt2 = (Integer((Substring((Entered chat string), 8, (Length of (Entered chat string))))))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Player(TempInt2)) is in NotChosenYet) Equal to True
- Then - Actions
- Player Group - Remove (Player(TempInt2)) from NotChosenYet
- Player Group - Add (Player(TempInt2)) to SheepPlayers
- Game - Display to (All players) the text: ((Name of (Player(TempInt2))) + (has been picked to + ((Name of Captain1) + 's team)))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Captain1int Equal to 1
- Then - Actions
- Set Captain2int = 2
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Captain1int Equal to 4
- Then - Actions
- Set Captain1int = 5
- Skip remaining actions
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Captain1int Equal to 5
- Then - Actions
- Set Captain2int = 6
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Captain1int Equal to 7
- Then - Actions
- Set Captain2int = 8
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Captain1int Equal to 7
- (Number of players in (All players)) Equal to 10
- Then - Actions
- Player Group - Add (Random player from NotChosenYet) to WolfPlayers
- Player Group - Pick every player in NotChosenYet and do (Actions)
- Loop - Actions
- Player Group - Remove (Picked player) from NotChosenYet
- Loop - Actions
- Set Captain1int = 0
- Set Captain2int = 0
- Trigger - Run ChooseModeEnd <gen> (checking conditions)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Captain1int Equal to 9
- Then - Actions
- Player Group - Add (Random player from NotChosenYet) to WolfPlayers
- Player Group - Pick every player in NotChosenYet and do (Actions)
- Loop - Actions
- Player Group - Remove (Picked player) from NotChosenYet
- Loop - Actions
- Set Captain1int = 0
- Set Captain2int = 0
- Trigger - Run ChooseModeEnd <gen> (checking conditions)
- Else - Actions
- If - Conditions
- Trigger - Turn off (This trigger)
- Trigger - Turn on Cap 2 <gen>
- Else - Actions
- If - Conditions
- Else - Actions
- If - Conditions
- Events
Trigger:
- Cap 2
- Events
- Player - Player 1 (Red) types a chat message containing -draft as A substring
- Conditions
- (Triggering player) Equal to Captain2
- Or - Any (Conditions) are true
- Conditions
- Captain2int Equal to 2
- Captain2int Equal to 3
- Captain2int Equal to 6
- Captain2int Equal to 8
- Conditions
- Actions
- Set TempInt2b = 0
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Integer((Substring((Entered chat string), 8, (Length of (Entered chat string)))))) Greater than or equal to 1
- (Integer((Substring((Entered chat string), 8, (Length of (Entered chat string)))))) Less than or equal to 12
- Then - Actions
- Set TempInt2b = (Integer((Substring((Entered chat string), 8, (Length of (Entered chat string))))))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Player(TempInt2b)) is in NotChosenYet) Equal to True
- Then - Actions
- Player Group - Remove (Player(TempInt2b)) from NotChosenYet
- Player Group - Add (Player(TempInt2b)) to WolfPlayers
- Game - Display to (All players) the text: ((Name of (Player(TempInt2b))) + (has been picked to + ((Name of Captain2) + 's team)))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Captain2int Equal to 2
- Then - Actions
- Set Captain2int = 3
- Skip remaining actions
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Captain2int Equal to 3
- Then - Actions
- Set Captain1int = 4
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Captain2int Equal to 6
- Then - Actions
- Set Captain1int = 7
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Captain2int Equal to 8
- Then - Actions
- Set Captain1int = 9
- Else - Actions
- If - Conditions
- Trigger - Turn off (This trigger)
- Trigger - Turn on Cap1 <gen>
- Else - Actions
- If - Conditions
- Else - Actions
- If - Conditions
- Events