Turtlehead91
New Member
- Reaction score
- 0
Ok i have a multiboard that works fine if players are in the right order. (Yes i found a thread like this, but a different problem it was.) But if they go in a different order it won't work. For example. if i am player 11, and somone else is player 1,(2 people playing) it shows player 1 ok, but then it will show a multiboard for player 2 not me. here is my trigger
and
also, i need this to work with it.
thanks
Trigger:
- Multiboard
- Events
- Map initialization
- Conditions
- Actions
- Set PlayersPlaying = (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User)))
- Set cc_players[0] = |cffffcc00
- Set cc_players[1] = |c00ff0303
- Set cc_players[2] = |c000042ff
- Set cc_players[3] = |c001ce6b9
- Set cc_players[4] = |c00540081
- Set cc_players[5] = |c00fffc01
- Set cc_players[6] = |c00feba0e
- Set cc_players[7] = |c0020c000
- Set cc_players[8] = |c00e55bb0
- Set cc_players[9] = |cff959697
- Set cc_players[11] = |cff106246
- Set cc_endtag = |r
- Events
and
Trigger:
- Board Setup
- Events
- Time - Elapsed game time is 5.00 seconds
- Conditions
- Actions
- Multiboard - Create a multiboard with 4 columns and ((Number of players in PlayersPlaying) + 1) rows, titled (|cff00bfff + Hero Wars Chaos)
- Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to (cc_players[0] + (Player Name + cc_endtag))
- Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to (cc_players[0] + (Income + cc_endtag))
- Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to (cc_players[0] + (Kill Ratio + cc_endtag))
- Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to (cc_players[0] + (Overall Score + cc_endtag))
- For each (Integer A) from 1 to ((Number of players in PlayersPlaying) + 1), do (Actions)
- Loop - Actions
- 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 9.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 5.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 5.25% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 4, row (Integer A) to 9.00% of the total screen width
- Loop - Actions
- 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 player_colour = (player_colour + 1)
- Set player_row = (player_row + 1)
- Multiboard - Set the text for (Last created multiboard) item in column 1, row player_row to (cc_players[player_colour](I am pretty sure the problem is here. I can't think of a fix though.)+ ((Name of (Player(player_colour))) + cc_endtag))
- Multiboard - Set the text for (Last created multiboard) item in column 2, row player_row to 0
- Multiboard - Set the text for (Last created multiboard) item in column 3, row player_row to 0
- Multiboard - Set the text for (Last created multiboard) item in column 4, row player_row to 0
- Loop - Actions
- Multiboard - Show (Last created multiboard)
- Events
also, i need this to work with it.
Trigger:
- IncomeReport
- Events
- Time - Every 3.00 seconds of game time
- Conditions
- Actions
- For each (Integer A) from 1 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for (Last created multiboard) item in column 2, row ((Player number of (Player((Integer A)))) + 1) to (String(Income[(Integer A)]))
- Loop - Actions
- For each (Integer A) from 1 to 11, do (Actions)
- Events
thanks