- Joined
- Nov 4, 2009
- Messages
- 18
I made a multiboard from a tutorial, i added Deaths the same way as Kills, but in a different column, but it changes the kills, kills number and the death number to 1. How can i solve this??? +rep
-
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 4 columns and (1 + Player_Count) rows, titled Dota Test
- Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Player Name
- 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
-
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 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 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 8.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 4.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
-
Loop - Actions
- 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
- Multiboard - Set the text for (Last created multiboard) item in column 2, row List to Player_Colour[((Player number of (Picked player)) + (Integer(((Name of (Picked player)) + |r))))]
- 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 icon for (Last created multiboard) item in column 1, row List to ReplaceableTextures\WorldEditUI\Editor-Ally-HighPriority.blp
- Set List = (List + 1)
-
Loop - Actions
- Multiboard - Show (Last created multiboard)
-
Events
-
Player Deaths
-
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 Multiboard_Spots[(Player number of (Owner of (Dying unit)))] to (String(Death_Count[(Player number of (Owner of (Dying unit)))]))
-
Events