Multiboard
[spoil]
Create Multiboard
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Set Mul_Group = (All players matching ((((Matching player) controller) Equal to (==) User) and (((Matching player) slot status) Equal to (==) Is playing)))
Player Group - Pick every player in Mul_Group and do (Actions)
Loop - Actions
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Multiple ConditionsOr - Any (Conditions) are true
Conditions
(Picked player) Equal to (==) Player 1 (Red)
((Picked player) is an ally of Player 1 (Red)) Equal to (==) True
Then - Actions
Set Playe_int = (Playe_int + 1)
Else - Actions
Set Mul_Number_Player = (Number of players in Mul_Group)
Multiboard - Create a multiboard with 5 columns and (Mul_Number_Player + 4) rows, titled Multiboard by |cff0...
Do Multiple ActionsFor each (Integer A) from 1 to (Mul_Number_Player + 4), do (Actions)
Loop - Actions
Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row (Integer A) to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row (Integer A) to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 4, row (Integer A) to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 5, row (Integer A) to Show text and Hide icons
Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 10.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 0 to 4.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 0 to 4.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 4, row 0 to 4.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 5, row 0 to 10.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Name
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Lv
Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to K
Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to D
Multiboard - Set the text for (Last created multiboard) item in column 5, row 1 to Score
Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to |cffff0000Team 1|r
Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to 0
Multiboard - Set the text for (Last created multiboard) item in column 3, row 2 to 0
Multiboard - Set the text for (Last created multiboard) item in column 1, row (3 + Playe_int) to |cff00ff00Team 2|r
Multiboard - Set the text for (Last created multiboard) item in column 2, row (3 + Playe_int) to 0
Multiboard - Set the text for (Last created multiboard) item in column 3, row (3 + Playe_int) to 0
Do Multiple ActionsFor each (Integer A) from 1 to 5, do (Actions)
Loop - Actions
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player((Integer A))) is in Mul_Group) Equal to (==) True
Then - Actions
Set Mul_Cols[(Integer A)] = ((Integer A) + 2)
Multiboard - Set the text for (Last created multiboard) item in column 1, row Mul_Cols[(Integer A)] to (Player_Color[(Integer A)] + ((Name of (Player((Integer A)))) + |r))
Multiboard - Set the text for (Last created multiboard) item in column 2, row Mul_Cols[(Integer A)] to 0
Multiboard - Set the text for (Last created multiboard) item in column 3, row Mul_Cols[(Integer A)] to 0
Multiboard - Set the text for (Last created multiboard) item in column 4, row Mul_Cols[(Integer A)] to 0
Multiboard - Set the text for (Last created multiboard) item in column 5, row Mul_Cols[(Integer A)] to 0
Else - Actions
Do Multiple ActionsFor each (Integer A) from 6 to 10, do (Actions)
Loop - Actions
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player((Integer A))) is in Mul_Group) Equal to (==) True
Then - Actions
Set Mul_Cols[(Integer A)] = ((Integer A) + 3)
Multiboard - Set the text for (Last created multiboard) item in column 1, row Mul_Cols[(Integer A)] to (Player_Color[(Integer A)] + ((Name of (Player((Integer A)))) + |r))
Multiboard - Set the text for (Last created multiboard) item in column 2, row Mul_Cols[(Integer A)] to 0
Multiboard - Set the text for (Last created multiboard) item in column 3, row Mul_Cols[(Integer A)] to 0
Multiboard - Set the text for (Last created multiboard) item in column 4, row Mul_Cols[(Integer A)] to 0
Multiboard - Set the text for (Last created multiboard) item in column 5, row Mul_Cols[(Integer A)] to 0
Else - Actions
Multiboard - Minimize (Last created multiboard)
Set Multiboard = (Last created multiboard)
Custom script: call DestroyForce(udg_Mul_Group)
[/spoil]
[spoil]
Change Value
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Do Multiple ActionsFor each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Hero[(Integer A)] Not equal to (!=) No unit
Then - Actions
Multiboard - Set the text for Multiboard item in column 2, row Mul_Cols[(Integer A)] to (String((Level of Hero[(Integer A)])))
Multiboard - Set the text for Multiboard item in column 3, row Mul_Cols[(Integer A)] to (String(Kills[(Integer A)]))
Multiboard - Set the text for Multiboard item in column 4, row Mul_Cols[(Integer A)] to (String(Death[(Integer A)]))
Multiboard - Set the text for Multiboard item in column 5, row Mul_Cols[(Integer A)] to (String(Score[(Integer A)]))
Else - Actions
[/spoil]