[trigger="CM Active"]CM Active
Events
Conditions
Actions
Set CM_MultiboardOnOff = True
-------- Create a Multiboard CM --------
Multiboard - Create a multiboard with CM_Coloms columns and 11 rows, titled Captain Mode
Set CM_Multiboard = (Last created multiboard)
Multiboard - Set the display style for (Last created multiboard) item in column 0, row 0 to Show text and Hide icons
Set Sys_IfThenElsePlayerGroup = 1
Set Sys_PositionOnLederboard = 1
Set Sys_Row2PlayerNameBlabla = CM_TeamLeader[Sys_IfThenElsePlayerGroup]
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of players in MB_PlayerGroup[Sys_IfThenElsePlayerGroup]) Not equal to (!=) 0
Then - Actions
Set CoutPlayersGroup = (CoutPlayersGroup + 1)
Set CM_BooleanBansPick[Sys_IfThenElsePlayerGroup] = True
Set CM_BooleanBans[Sys_IfThenElsePlayerGroup] = True
Set CM_BooleanPick[Sys_IfThenElsePlayerGroup] = True
Set CM_MB_Time[Sys_IfThenElsePlayerGroup] = 30
Set CM_MB_TimeExtra[Sys_IfThenElsePlayerGroup] = 90
Set CM_MB_Status[Sys_IfThenElsePlayerGroup] = Wait
Set Sys_ForceSlot[Sys_IfThenElsePlayerGroup] = True
-------- Leader --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 2 to 10.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 2 to Playername[Sys_Row2PlayerNameBlabla]
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 2 to 0.01% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 2 to 0.01% of the total screen width
-------- Bans: --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 4 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 4 to |c000080C0Bans:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 4 to 1.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 4 to 5.00% of the total screen width
-------- Pick --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 6 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 6 to |c000080C0Pick:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 6 to 1.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 6 to 5.00% of the total screen width
-------- Time --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 8 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 8 to |c000080C0Time:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 8 to 3.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 8 to 3.00% of the total screen width
-------- Extra --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 9 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 9 to |c000080C0Extra:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 9 to 3.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 9 to 3.00% of the total screen width
-------- Status --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 11 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 11 to |c000080C0Status:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 11 to 3.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 11 to 3.00% of the total screen width
Else - Actions
Set Sys_IfThenElsePlayerGroup = 2
Set Sys_PositionOnLederboard = MB_SetLocationTeam2
Set Sys_Row2PlayerNameBlabla = CM_TeamLeader[Sys_IfThenElsePlayerGroup]
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of players in MB_PlayerGroup[Sys_IfThenElsePlayerGroup]) Not equal to (!=) 0
Then - Actions
Set CoutPlayersGroup = (CoutPlayersGroup + 1)
Set CM_BooleanBansPick[Sys_IfThenElsePlayerGroup] = True
Set CM_BooleanBans[Sys_IfThenElsePlayerGroup] = True
Set CM_BooleanPick[Sys_IfThenElsePlayerGroup] = True
Set CM_MB_Time[Sys_IfThenElsePlayerGroup] = 30
Set CM_MB_TimeExtra[Sys_IfThenElsePlayerGroup] = 90
Set CM_MB_Status[Sys_IfThenElsePlayerGroup] = Wait
Set Sys_ForceSlot[Sys_IfThenElsePlayerGroup] = True
-------- Leader --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 2 to 10.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 2 to Playername[Sys_Row2PlayerNameBlabla]
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 2 to 0.01% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 2 to 0.01% of the total screen width
-------- Bans: --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 4 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 4 to |c000080C0Bans:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 4 to 1.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 4 to 5.00% of the total screen width
-------- Pick --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 6 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 6 to |c000080C0Pick:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 6 to 1.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 6 to 5.00% of the total screen width
-------- Time --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 8 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 8 to |c000080C0Time:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 8 to 3.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 8 to 3.00% of the total screen width
-------- Extra --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 9 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 9 to |c000080C0Extra:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 9 to 3.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 9 to 3.00% of the total screen width
-------- Status --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 11 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 11 to |c000080C0Status:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 11 to 3.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 11 to 3.00% of the total screen width
Else - Actions
Set Sys_IfThenElsePlayerGroup = 3
Set Sys_PositionOnLederboard = MB_SetLocationTeam3
Set Sys_Row2PlayerNameBlabla = CM_TeamLeader[Sys_IfThenElsePlayerGroup]
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of players in MB_PlayerGroup[Sys_IfThenElsePlayerGroup]) Not equal to (!=) 0
Then - Actions
Set CoutPlayersGroup = (CoutPlayersGroup + 1)
Set CM_BooleanBansPick[Sys_IfThenElsePlayerGroup] = True
Set CM_BooleanBans[Sys_IfThenElsePlayerGroup] = True
Set CM_BooleanPick[Sys_IfThenElsePlayerGroup] = True
Set CM_MB_Time[Sys_IfThenElsePlayerGroup] = 30
Set CM_MB_TimeExtra[Sys_IfThenElsePlayerGroup] = 90
Set CM_MB_Status[Sys_IfThenElsePlayerGroup] = Wait
Set Sys_ForceSlot[Sys_IfThenElsePlayerGroup] = True
-------- Leader --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 2 to 10.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 2 to Playername[Sys_Row2PlayerNameBlabla]
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 2 to 0.01% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 2 to 0.01% of the total screen width
-------- Bans: --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 4 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 4 to |c000080C0Bans:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 4 to 1.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 4 to 5.00% of the total screen width
-------- Pick --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 6 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 6 to |c000080C0Pick:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 6 to 1.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 6 to 5.00% of the total screen width
-------- Time --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 8 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 8 to |c000080C0Time:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 8 to 3.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 8 to 3.00% of the total screen width
-------- Extra --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 9 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 9 to |c000080C0Extra:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 9 to 3.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 9 to 3.00% of the total screen width
-------- Status --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 11 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 11 to |c000080C0Status:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 11 to 3.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 11 to 3.00% of the total screen width
Else - Actions
Set Sys_IfThenElsePlayerGroup = 4
Set Sys_PositionOnLederboard = MB_SetLocationTeam4
Set Sys_Row2PlayerNameBlabla = CM_TeamLeader[Sys_IfThenElsePlayerGroup]
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of players in MB_PlayerGroup[Sys_IfThenElsePlayerGroup]) Not equal to (!=) 0
Then - Actions
Set CoutPlayersGroup = (CoutPlayersGroup + 1)
Set CM_BooleanBansPick[Sys_IfThenElsePlayerGroup] = True
Set CM_BooleanBans[Sys_IfThenElsePlayerGroup] = True
Set CM_BooleanPick[Sys_IfThenElsePlayerGroup] = True
Set CM_MB_Time[Sys_IfThenElsePlayerGroup] = 30
Set CM_MB_TimeExtra[Sys_IfThenElsePlayerGroup] = 90
Set CM_MB_Status[Sys_IfThenElsePlayerGroup] = Wait
Set Sys_ForceSlot[Sys_IfThenElsePlayerGroup] = True
-------- Leader --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 2 to 10.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 2 to Playername[Sys_Row2PlayerNameBlabla]
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 2 to 0.01% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 2 to 0.01% of the total screen width
-------- Bans: --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 4 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 4 to |c000080C0Bans:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 4 to 1.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 4 to 5.00% of the total screen width
-------- Pick --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 6 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 6 to |c000080C0Pick:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 6 to 1.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 6 to 5.00% of the total screen width
-------- Time --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 8 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 8 to |c000080C0Time:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 8 to 3.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 8 to 3.00% of the total screen width
-------- Extra --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 9 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 9 to |c000080C0Extra:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 9 to 3.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 9 to 3.00% of the total screen width
-------- Status --------
Multiboard - Set the width for (Last created multiboard) item in column Sys_PositionOnLederboard, row 11 to 4.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column Sys_PositionOnLederboard, row 11 to |c000080C0Status:
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 1), row 11 to 3.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column (Sys_PositionOnLederboard + 2), row 11 to 3.00% of the total screen width
Else - Actions
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
CoutPlayersGroup Equal to (==) 1
Then - Actions
Set CM_OnOff = False
Game - Display to (All players) for 60.00 seconds the text: Captain Mode Failed...
Multiboard - Destroy (Last created multiboard)
Trigger - Turn off (This trigger)
Else - Actions
Set CM_OnOff = True
Multiboard - Maximize (Last created multiboard)
-------- Create A Floating at Travern --------
Set CM_FloatingTextString = W A I T
Set CM_Loc5 = (Center of Floating Text <gen>)
Floating Text - Create floating text that reads CM_FloatingTextString at CM_Loc5 with Z offset 100.00, using font size 16.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
Set CM_Loc4 = (Center of Picking a Heroes <gen>)
Set CM_FloatingText = (Last created floating text)
Set CM_BooleanBansPickOnOff = True
Custom script: call RemoveLocation ( udg_CM_Loc5 )[/trigger]