Hello
I need help creating a player status multi board, shows if they are still playing or they already left.
This is what i have got so far, but i dont know how to update the status.
Quote:
Actions
Set PlayerCount = (Number of players in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User))))
Multiboard - Create a multiboard with 2 columns and (PlayerCount + 1) rows, titled Players
Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Players
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Status
For each (Integer A) from 1 to (PlayerCount + 1), do (Actions)
Loop - Actions
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Show text and Hide icons
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 width for (Last created multiboard) item in column 1, row (Integer A) to 10.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
Set MultiBoardPlayerList = 2
Player Group - Pick every player in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User))) and do (Actions)
Loop - Actions
Set MultiBoardPlayerSpot[(Player number of (Picked player))] = MultiBoardPlayerList
Multiboard - Set the text for (Last created multiboard) item in column 1, row MultiBoardPlayerList to (PlayersColours[(Player number of (Picked player))] + (Name of (Picked player)))
Multiboard - Set the text for (Last created multiboard) item in column 2, row MultiBoardPlayerList to Playing
Set MultiBoardPlayerList = (MultiBoardPlayerList + 1)
Multiboard - Show (Last created multiboard)
|
Thanks in advance!