F
Fulltimer
Guest
The Level parameter consistently lacks 1 level. In other words, it IS 10, but the Level on the MB says "9". I've put one as the initial value in the integer array variable...but that doesn't work. I'm kinda confused at why it consistently lacks 1 all the time when I start with 1 on startup. Here's what I have:
Create Multiboard
Events
Time - Elapsed game time is 1.00 seconds
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 (3 + Player_Count) rows, titled Quest Scoreboard
Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Player
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to |c00ff1493Kills|r
Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to |c001e90ffLvl|r
Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to |c00ffff00Health|r
Multiboard - Set the text for (Last created multiboard) item in column 5, row 1 to |c009400d3Deaths|r
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 (Player_Count + 1) to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Player_Count + 2) to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Player_Count + 3) 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 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 8.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 2.70% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 2.15% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 4, row (Integer A) to 4.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 5, row (Integer A) to 3.00% of the total screen width
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Show text and Hide icons
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
Set Multiboard_Spots[(Player number of (Picked player))] = List
Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Picked player) controller) Equal to User) and (((Triggering unit) is A Hero) Equal to True))) and do (Actions)
Loop - Actions
Multiboard - Set the text for (Last created multiboard) item in column 4, row List to ((String((Integer((Percentage life of (Picked unit)))))) + |c00ffff00%|r)
Multiboard - Set the text for (Last created multiboard) item in column 1, row List to (Player_Colors[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
Multiboard - Set the text for (Last created multiboard) item in column 2, row List to |c00ff14930|r
Multiboard - Set the text for (Last created multiboard) item in column 3, row List to |c001e90ff1|r
Multiboard - Set the text for (Last created multiboard) item in column 5, row List to |c009400d30|r
Set List = (List + 1)
Multiboard - Show (Last created multiboard)
Then, an individual trigger for Level as follows:
Player Level Update
Events
Unit - A unit Gains a level
Conditions
((Triggering player) controller) Equal to User
Actions
Set Level_Count[(Player number of (Owner of (Leveling Hero)))] = (Level_Count[(Player number of (Owner of (Leveling Hero)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Spots[(Player number of (Owner of (Leveling Hero)))] to (|c001e90ff + ((String(Level_Count[(Player number of (Owner of (Leveling Hero)))])) + |r))
Thx.....
Create Multiboard
Events
Time - Elapsed game time is 1.00 seconds
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 (3 + Player_Count) rows, titled Quest Scoreboard
Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Player
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to |c00ff1493Kills|r
Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to |c001e90ffLvl|r
Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to |c00ffff00Health|r
Multiboard - Set the text for (Last created multiboard) item in column 5, row 1 to |c009400d3Deaths|r
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 (Player_Count + 1) to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Player_Count + 2) to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Player_Count + 3) 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 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 8.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 2.70% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 2.15% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 4, row (Integer A) to 4.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 5, row (Integer A) to 3.00% of the total screen width
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Show text and Hide icons
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
Set Multiboard_Spots[(Player number of (Picked player))] = List
Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Picked player) controller) Equal to User) and (((Triggering unit) is A Hero) Equal to True))) and do (Actions)
Loop - Actions
Multiboard - Set the text for (Last created multiboard) item in column 4, row List to ((String((Integer((Percentage life of (Picked unit)))))) + |c00ffff00%|r)
Multiboard - Set the text for (Last created multiboard) item in column 1, row List to (Player_Colors[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
Multiboard - Set the text for (Last created multiboard) item in column 2, row List to |c00ff14930|r
Multiboard - Set the text for (Last created multiboard) item in column 3, row List to |c001e90ff1|r
Multiboard - Set the text for (Last created multiboard) item in column 5, row List to |c009400d30|r
Set List = (List + 1)
Multiboard - Show (Last created multiboard)
Then, an individual trigger for Level as follows:
Player Level Update
Events
Unit - A unit Gains a level
Conditions
((Triggering player) controller) Equal to User
Actions
Set Level_Count[(Player number of (Owner of (Leveling Hero)))] = (Level_Count[(Player number of (Owner of (Leveling Hero)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Spots[(Player number of (Owner of (Leveling Hero)))] to (|c001e90ff + ((String(Level_Count[(Player number of (Owner of (Leveling Hero)))])) + |r))
Thx.....


