Juliano
New Member
- Reaction score
- 8
I have made my multiboard like the one in SD_Ryoko's tutorial, here's the trigger:
The trigger that increases the kills and sets player colors is irrelevant now... I dont know how to, when a unit enters a region to choose a hero, the icon of it's respective owner changes from the "Editor-Force.blp" to a...Paladin, for example, I think the problem is in how I try to detect the row of the player, since this multiboard shows only players that are currently playing, I might mistake the rows... can someone show me how to detect the rows so the icon changes properly?Please be detailed!
Here's the link to the tutorial, I changes the trigger slightly to adapt it to my map.
Sorry for my english, isn't very good.
+rep for help
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 3 columns and (1 + Player_Count) rows, titled |cffffcc00Player's ...
Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to |cffffcc00Hero|r
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to |cffffcc00Player|r
Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to |cffffcc00Kills|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 (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 width for (Last created multiboard) item in column 1, row (Integer A) to 3.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 9.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 2.50% 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
Multiboard - Set the icon for (Last created multiboard) item in column 1, row List to ReplaceableTextures\WorldEditUI\Editor-Force.blp
Multiboard - Set the text for (Last created multiboard) item in column 2, 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 3, row List to 0
Set List = (List + 1)
Multiboard - Show (Last created multiboard)
The trigger that increases the kills and sets player colors is irrelevant now... I dont know how to, when a unit enters a region to choose a hero, the icon of it's respective owner changes from the "Editor-Force.blp" to a...Paladin, for example, I think the problem is in how I try to detect the row of the player, since this multiboard shows only players that are currently playing, I might mistake the rows... can someone show me how to detect the rows so the icon changes properly?Please be detailed!
Here's the link to the tutorial, I changes the trigger slightly to adapt it to my map.
Sorry for my english, isn't very good.
+rep for help