So my multiboard trigger looks like this
-
Create Multiboard
-
Events
-
Unit - A unit enters Starting Region <gen>
-
-
Conditions
-
Actions
-
Set Player_Count = (Number of players in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing))))
-
Multiboard - Create a multiboard with 5 columns and (1 + Player_Count) rows, titled Character Status
-
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Level
-
Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to Health
-
Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to Stamina
-
-------- Now set the fields for the first row, AND our player rows. --------
-
For each (Integer A) from 1 to (1 + Player_Count), do (Actions)
-
Loop - Actions
-
Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Show 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 (Integer A) to 2.00% of the total screen width
-
Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 4.75% of the total screen width
-
Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 5.00% of the total screen width
-
Multiboard - Set the width for (Last created multiboard) item in column 4, row (Integer A) to 5.00% of the total screen width
-
-
-
-------- Quickly change the top row to hide that icon.... --------
-
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Show text and Hide icons
-
-------- DEFINE PLAYERS ON THE BOARD --------
-
-------- List defines the spots on the board, the rows. Starts at second row. --------
-
Set List = 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
-
-------- Mutiboard_Spots keeps track of which row a player has been put on. It is an integer array. --------
-
Set Multiboard_Spots[(Player number of (Picked player))] = List
-
Multiboard - Set the icon for (Last created multiboard) item in column 1, row List to ReplaceableTextures\CommandButtons\BTNFootman.blp
-
Multiboard - Set the text for (Last created multiboard) item in column 2, row List to ((String((Level of (Triggering unit)))) + <Empty String>)
-
Multiboard - Set the text for (Last created multiboard) item in column 3, row List to (String((Percentage life of (Triggering unit))))
-
Multiboard - Set the text for (Last created multiboard) item in column 4, row List to (String((Percentage mana of (Triggering unit))))
-
Set List = (List + 1)
-
-
-
Multiboard - Show (Last created multiboard)
-
-