Code: Select all
Multiboard Change
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Wait 15.00 seconds
Multiboard - Show multi
Wait 5.00 seconds
Multiboard - Show multi2
Trigger - Run Rows Player <gen> (checking conditions)
Code: Select all
Number Player
Events
Map initialization
Conditions
Actions
Set numbe_of_player = (Number of players in (All players))
Set numbe_of_player = (numbe_of_player - 1)
Code: Select all
Multiboard Player
Events
Map initialization
Conditions
Actions
Set alltweck_n = 0
Wait 5.00 seconds
Multiboard - Create a multiboard with 3 columns and (numbe_of_player + 2) rows, titled Player lives
For each (Integer A) from 1 to (numbe_of_player + 2), 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 width for (Last created multiboard) item in column 1, row (Integer A) to 12.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 6.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 6.00% of the total screen width
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player((Integer A))) slot status) Equal to Is playing
((Player((Integer A))) slot status) Not equal to Is unused
((Player((Integer A))) slot status) Not equal to Has left the game
Then - Actions
Set alltweck_n = (alltweck_n + 1)
Set player_row[alltweck_n] = (Integer A)
Else - Actions
Set multi2 = (Last created multiboard)
Multiboard - Hide multi2
Trigger - Run Rows Player <gen> (checking conditions)
Code: Select all
Rows Player
Events
Conditions
Actions
For each (Integer B) from 1 to (numbe_of_player + 2), do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player(player_row[(Integer B)])) slot status) Equal to Is playing
Then - Actions
Multiboard - Set the text for multi2 item in column 1, row 1 to Player Name
Multiboard - Set the text for multi2 item in column 1, row 2 to Kills
Multiboard - Set the text for multi2 item in column 1, row 3 to Leaks
Multiboard - Set the text for multi2 item in column 1, row ((Integer B) + 1) to ((PlayerColour[(Integer B)] + (Name of (Player(player_row[(Integer B)])))) + |r)
Multiboard - Set the text for multi2 item in column 2, row ((Integer B) + 1) to (String(Kills[player_row[(Integer B)]]))
Multiboard - Set the text for multi2 item in column 3, row ((Integer B) + 1) to (String(Leaks[player_row[(Integer B)]]))
Multiboard - Set the text for multi2 item in column 1, row ((Integer B) + 2) to Enemys on map
Multiboard - Set the text for multi2 item in column 2, row ((Integer B) + 2) to (String(CurrentlyOnMap))
Else - Actions
Multiboard - Set the text for multi2 item in column 1, row ((Integer B) + 1) to (|c55555555 + ((Name of (Player(player_row[(Integer B)]))) + |r))
Spoiler: