Im having problems with getting my Multiboard to function properly
I used this guide: http://world-editor-tutorials.thehelper.net/multiboard.php
I apologise for the "mirrored" pictures, i dont know wtf happened when i took the screenies, but thats how they came out.
If you can manage to read it, it is all titled correctly.
But now where the titles "Kills" and "Deaths" were... There is now the number "0"
Below are my triggers, i haven't tested "Unit Level Update" as such, but i can only imagine it doesn't work either.
Create Multiboard
The following triggers are my respawning triggers.
Lastly, how do i get rid of that ugly icon just before the playername?
Cheers for the help, muchly appreciated.
I used this guide: http://world-editor-tutorials.thehelper.net/multiboard.php
I apologise for the "mirrored" pictures, i dont know wtf happened when i took the screenies, but thats how they came out.
If you can manage to read it, it is all titled correctly.
But now where the titles "Kills" and "Deaths" were... There is now the number "0"
Below are my triggers, i haven't tested "Unit Level Update" as such, but i can only imagine it doesn't work either.
Create Multiboard
-
Create Multiboard
-
Events
- Time - Elapsed game time is 0.10 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 7 columns and (1 + Player_Count) rows, titled Trial Of The Heroes
- Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Player Name
- 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 Kills
- Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to Deaths
- Multiboard - Set the text for (Last created multiboard) item in column 5, row 1 to Race
- Multiboard - Set the text for (Last created multiboard) item in column 6, row 1 to Unit Count
- Multiboard - Set the text for (Last created multiboard) item in column 7, row 1 to Revive
-
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 1 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 display style for (Last created multiboard) item in column 6, row (Integer A) to Show text and Hide icons
- Multiboard - Set the display style for (Last created multiboard) item in column 7, 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 3.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 3.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 4, row (Integer A) to 3.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 5, row (Integer A) to 5.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 6, row (Integer A) to 3.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 7, row (Integer A) to 3.00% of the total screen width
-
Loop - Actions
- Set List = 2
-
Player Group - Pick every player in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing))) and do (Actions)
-
Loop - Actions
- Set Multiboard_Spot[(Player number of (Picked player))] = List
- Multiboard - Set the text for (Last created multiboard) item in column 1, row List to (Player_Colours[(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 0
- Multiboard - Set the text for (Last created multiboard) item in column 3, row List to 0
- Multiboard - Set the text for (Last created multiboard) item in column 4, row List to 0
- Multiboard - Set the text for (Last created multiboard) item in column 5, row List to -selecting-
- Multiboard - Set the text for (Last created multiboard) item in column 6, row List to 0
- Multiboard - Set the text for (Last created multiboard) item in column 7, row List to 0
-
Loop - Actions
- Multiboard - Minimize (Last created multiboard)
- Multiboard - Show (Last created multiboard)
-
Events
-
Player Kills Update
-
Events
- Unit - A unit Dies
-
Conditions
- (((Owner of (Killing unit)) controller) Equal to User) and (((Dying unit) is A Hero) Equal to True)
-
Actions
- Set Kill_Count[(Player number of (Owner of (Killing unit)))] = Kill_Count[((Player number of (Owner of (Killing unit))) + 1)]
- Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Spot[(Player number of (Owner of (Killing unit)))] to (String(Kill_Count[(Player number of (Owner of (Killing unit)))]))
-
Events
-
Player Deaths Update
-
Events
- Unit - A unit Dies
-
Conditions
- ((Owner of (Dying unit)) controller) Equal to User
-
Actions
- Set Death_Count[(Player number of (Owner of (Dying unit)))] = Death_Count[((Player number of (Owner of (Dying unit))) + 1)]
- Multiboard - Set the text for (Last created multiboard) item in column 4, row (Death_Count[(Player number of (Owner of (Dying unit)))] + 1) to (String(Death_Count[(Player number of (Owner of (Dying unit)))]))
-
Events
-
Player Level Update
-
Events
- Unit - A unit Gains a level
-
Conditions
- ((Leveling Hero) is A Hero) Equal to True
-
Actions
- Set Level_Count[(Player number of (Owner of (Leaving unit)))] = ((Player number of (Owner of (Leveling Hero))) + 1)
- Multiboard - Set the text for (Last created multiboard) item in column 2, row (Level_Count[(Player number of (Owner of (Leveling Hero)))] + 1) to (String(Level_Count[(Player number of (Owner of (Leveling Hero)))]))
-
Events
-
Unit Death Update
-
Events
- Unit - A unit Dies
-
Conditions
- ((Dying unit) is A Hero) Equal to False
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Dying unit)) Equal to Player 11 (Dark Green)
-
Then - Actions
- Set Unit_Count[1] = (Unit_Count[1] - 1)
- Multiboard - Set the text for (Last created multiboard) item in column 6, row 2 to (String(Unit_Count[1]))
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Dying unit)) Equal to Player 10 (Light Blue)
-
Then - Actions
- Set Unit_Count[2] = (Unit_Count[2] - 1)
- Multiboard - Set the text for (Last created multiboard) item in column 6, row 3 to (String(Unit_Count[2]))
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Dying unit)) Equal to Player 9 (Gray)
-
Then - Actions
- Set Unit_Count[3] = (Unit_Count[3] - 1)
- Multiboard - Set the text for (Last created multiboard) item in column 6, row 4 to (String(Unit_Count[3]))
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Dying unit)) Equal to Player 12 (Brown)
-
Then - Actions
- Set Unit_Count[4] = (Unit_Count[4] - 1)
- Multiboard - Set the text for (Last created multiboard) item in column 6, row 5 to (String(Unit_Count[4]))
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
The following triggers are my respawning triggers.
-
Revive Level 1to4
-
Events
- Unit - A unit Dies
-
Conditions
- (((Dying unit) is A Hero) Equal to True) and (((Level of (Dying unit)) Greater than or equal to 1) and ((Level of (Dying unit)) Less than or equal to 4))
-
Actions
- Set Revive_Penalty = 5.00
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Dying unit)) Equal to Player 1 (Red)
-
Then - Actions
- Multiboard - Set the text for (Last created multiboard) item in column 7, row 2 to (String((Integer(Revive_Penalty))))
- Trigger - Turn on P1 Revive Timer <gen>
- Wait Revive_Penalty seconds
- Trigger - Turn off P1 Revive Timer <gen>
- Hero - Instantly revive (Dying unit) at (Center of TL Hero Spawn <gen>), Show revival graphics
- Camera - Pan camera for (Owner of (Dying unit)) to (Center of TL Hero Spawn <gen>) over 1.00 seconds
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Dying unit)) Equal to Player 2 (Blue)
-
Then - Actions
- Multiboard - Set the text for (Last created multiboard) item in column 7, row 2 to (String((Integer(Revive_Penalty))))
- Trigger - Turn on P2 Revive Timer <gen>
- Wait Revive_Penalty seconds
- Trigger - Turn off P2 Revive Timer <gen>
- Hero - Instantly revive (Dying unit) at (Center of TR Hero Spawn <gen>), Show revival graphics
- Camera - Pan camera for (Owner of (Dying unit)) to (Center of TR Hero Spawn <gen>) over 1.00 seconds
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Dying unit)) Equal to Player 3 (Teal)
-
Then - Actions
- Multiboard - Set the text for (Last created multiboard) item in column 7, row 2 to (String((Integer(Revive_Penalty))))
- Trigger - Turn on P3 Revive Timer <gen>
- Wait Revive_Penalty seconds
- Trigger - Turn off P3 Revive Timer <gen>
- Hero - Instantly revive (Dying unit) at (Center of BR Hero Spawn <gen>), Show revival graphics
- Camera - Pan camera for (Owner of (Dying unit)) to (Center of BR Hero Spawn <gen>) over 1.00 seconds
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Dying unit)) Equal to Player 4 (Purple)
-
Then - Actions
- Multiboard - Set the text for (Last created multiboard) item in column 7, row 2 to (String((Integer(Revive_Penalty))))
- Trigger - Turn on P4 Revive Timer <gen>
- Wait Revive_Penalty seconds
- Trigger - Turn off P4 Human Spawns <gen>
- Hero - Instantly revive (Dying unit) at (Center of BL Hero Spawn <gen>), Show revival graphics
- Camera - Pan camera for (Owner of (Dying unit)) to (Center of BL Hero Spawn <gen>) over 1.00 seconds
- Else - Actions
-
If - Conditions
-
Events
-
P1 Revive Timer
-
Events
- Time - Every 1.00 seconds of game time
- Conditions
-
Actions
- Set Revive_Time[1] = (Revive_Time[1] - 1)
- Multiboard - Set the text for (Last created multiboard) item in column 7, row 2 to (String(Revive_Time[1]))
-
Events
Lastly, how do i get rid of that ugly icon just before the playername?
Cheers for the help, muchly appreciated.