I have created an end-game multiboard that will show when a team wins the match (it's a rather large multiboard). The difficulty is that when the multiboard shows at the end of the match none of the data shows and the row width sizes are extremely screwed up. I'll link my multiboard setup (ofcourse it refers to a multitude of variables that are figured elsewhere), however I do not believe it is a problem with an individual line, but a general concept or rule for building a multiboard of this type and size that I am unfamiliar with. Any assistance is appreciated.
Trigger:
- End Game Board
- Events
- Conditions
- Actions
- Multiboard - Destroy (Last created multiboard)
- Multiboard - Create a multiboard with 11 columns and 32 rows, titled Match Statistics
- Set Endgame_Multiboard = (Last created multiboard)
- Multiboard - Set the display style for Endgame_Multiboard item in column 0, row 0 to Show text and Hide icons
- Multiboard - Change the title of Endgame_Multiboard to (Match Statistics: + ((String(Game_Time)) + min.))
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 1 to (|c008B7500 + (Fantasy Project + |r))
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- PlayerIcon_Boolean[(Integer A)] Equal to False
- Then - Actions
- Multiboard - Set the display style for Endgame_Multiboard item in column (Integer A), row 9 to Show text and Show icons
- Multiboard - Set the icon for Endgame_Multiboard item in column (Integer A), row 9 to PlayerHeroes_Icon[(Integer A)]
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- PlayerIcon_Boolean[((Integer A) + 1)] Equal to False
- Then - Actions
- Multiboard - Set the display style for Endgame_Multiboard item in column (Integer A), row 9 to Show text and Show icons
- Multiboard - Set the icon for Endgame_Multiboard item in column (Integer A), row 9 to PlayerHeroes_Icon[((Integer A) + 1)]
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 1 to (Name of (Player((Integer A))))
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 1 to (Name of (Player(((Integer A) + 1))))
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 2 to |cff36648BKills|r
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 3 to |cff36648BDeaths|r
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 4 to |cff36648BTowers|r
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 5 to |cff36648BCurrent G...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 6 to |cff36648BNode Capt...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 7 to |cff36648BCurrent I...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 8 to |cff36648BTotal Ins...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 9 to |cff36648BHero Leve...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 10 to |cff36648BStr/Agi/I...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 11 to |cff36648BHero Spee...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 12 to |cff36648BHero Heal...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 13 to |cff36648BHero Mana...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 14 to |cff36648BResearch ...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 15 to |c00228B22The Night...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 16 to |c008B8878Warlocks ...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 17 to |c008B8878Towers Le...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 18 to |c008B8878Nodes Con...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 19 to |c0000868BThe Dark ...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 20 to |c008B8878Warlocks ...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 21 to |c008B8878Towers Le...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 22 to |c008B8878Nodes Con...
- Multiboard - Set the text for Endgame_Multiboard item in column 1, row 27 to |cff36648BAwards|r
- -------- Divider --------
- Multiboard - Set the text for Endgame_Multiboard item in column 2, row 16 to (String(Nightelf_Warlock_Count))
- Multiboard - Set the text for Endgame_Multiboard item in column 2, row 17 to (String(Towers_Count[1]))
- Multiboard - Set the text for Endgame_Multiboard item in column 2, row 18 to (String(Nodes[1]))
- Multiboard - Set the text for Endgame_Multiboard item in column 2, row 20 to (String(Darkelf_Warlock_Count))
- Multiboard - Set the text for Endgame_Multiboard item in column 2, row 21 to (String(Towers_Count[2]))
- Multiboard - Set the text for Endgame_Multiboard item in column 2, row 22 to (String(Nodes[2]))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Win_Boolean[1] Equal to True
- Then - Actions
- Multiboard - Set the display style for Endgame_Multiboard item in column 2, row 15 to Show text and Show icons
- Multiboard - Set the icon for Endgame_Multiboard item in column 2, row 15 to ReplaceableTextures/CommandButtons/BTNGladiator.tga
- Multiboard - Set the text for Endgame_Multiboard item in column 2, row 15 to |cffCD9B1D(Victors)...
- Else - Actions
- Multiboard - Set the display style for Endgame_Multiboard item in column 2, row 19 to Show text and Show icons
- Multiboard - Set the icon for Endgame_Multiboard item in column 2, row 19 to ReplaceableTextures/CommandButtons/BTNGladiator.tga
- Multiboard - Set the text for Endgame_Multiboard item in column 2, row 19 to |cffCD9B1D(Victors)...
- If - Conditions
- -------- Divider --------
- For each (Integer A) from 2 to 11, do (Actions)
- Loop - Actions
- For each (Integer B) from 1 to 32, do (Actions)
- Loop - Actions
- Multiboard - Set the width for Endgame_Multiboard item in column (Integer A), row (Integer B) to 6.50% of the total screen width
- Loop - Actions
- For each (Integer B) from 1 to 32, do (Actions)
- Loop - Actions
- For each (Integer A) from 1 to 32, do (Actions)
- Loop - Actions
- Multiboard - Set the width for Endgame_Multiboard item in column 1, row (Integer A) to 10.00% of the total screen width
- Loop - Actions
- -------- Divider --------
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 27 to Awards[(Integer A)]
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 27 to Awards[((Integer A) + 1)]
- Loop - Actions
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 14 to (String(PlayerResearch_LvL[(Integer A)]))
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 14 to (String(PlayerResearch_LvL[((Integer A) + 1)]))
- Loop - Actions
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 13 to (String((Max mana of Player_Heroes[(Integer A)])))
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 13 to (String((Max mana of Player_Heroes[((Integer A) + 1)])))
- Loop - Actions
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 12 to (String((Max life of Player_Heroes[(Integer A)])))
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 12 to (String((Max life of Player_Heroes[((Integer A) + 1)])))
- Loop - Actions
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 11 to ((String((Current movement speed of Player_Heroes[(Integer A)]))) + MS)
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 11 to ((String((Current movement speed of Player_Heroes[((Integer A) + 1)]))) + MS)
- Loop - Actions
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 10 to ((String((Strength of Player_Heroes[(Integer A)] (Include bonuses)))) + (/ + ((String((Agility of Player_Heroes[(Integer A)] (Include bonuses)))) + (/ + (String((Intelligence of Player_Heroes[(Integer A)] (Include bonuses))))))))
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 10 to ((String((Strength of Player_Heroes[((Integer A) + 1)] (Include bonuses)))) + (/ + ((String((Agility of Player_Heroes[((Integer A) + 1)] (Include bonuses)))) + (/ + (String((Intelligence of Player_Heroes[((Integer A) + 1)] (Include bonuses))))))))
- Loop - Actions
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 9 to (String((Hero level of Player_Heroes[(Integer A)])))
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 9 to (String((Hero level of Player_Heroes[((Integer A) + 1)])))
- Loop - Actions
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 8 to (String(Total_Insignia[(Integer A)]))
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 8 to (String(Total_Insignia[((Integer A) + 1)]))
- Loop - Actions
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 7 to (String(((Player((Integer A))) Current lumber)))
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 7 to (String(((Player(((Integer A) + 1))) Current lumber)))
- Loop - Actions
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 6 to (String(Node_Captures[(Integer A)]))
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 6 to (String(Node_Captures[((Integer A) + 1)]))
- Loop - Actions
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 5 to (String(((Player((Integer A))) Current gold)))
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 5 to (String(((Player(((Integer A) + 1))) Current gold)))
- Loop - Actions
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 4 to (String(Tower_kills_Int[(Integer A)]))
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 4 to (String(Tower_kills_Int[((Integer A) + 1)]))
- Loop - Actions
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 3 to (String(Player_Deaths[(Integer A)]))
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 3 to (String(Player_Deaths[((Integer A) + 1)]))
- Loop - Actions
- For each (Integer A) from 2 to 6, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 2 to (String(Player_Kills[(Integer A)]))
- Loop - Actions
- For each (Integer A) from 7 to 11, do (Actions)
- Loop - Actions
- Multiboard - Set the text for Endgame_Multiboard item in column (Integer A), row 2 to (String(Player_Kills[((Integer A) + 1)]))
- Loop - Actions
- -------- Divider --------
- Multiboard - Show Endgame_Multiboard
- Multiboard - Maximize Endgame_Multiboard