Lag spike when creating multiboard

Level 14
Joined
Oct 16, 2010
Messages
764
Hi

I've just been trying to make a final score screen for my map

It has to be a bit flexible as it is meant to change size based on number of players

I've just put in the max players and when I run it it takes 20 seconds to load? I've been testing it and 7 players was only 6 seconds... but 8 players is 20??

Am I missing something here??

  • Create Ending Multiboard
    • Events
      • Player - Player 1 (Red) types a chat message containing -test as An exact match
    • Conditions
    • Actions
      • Set VariableSet TempCount = (Number of players in IntitalPlayers)
      • Multiboard - Create a multiboard with (2 + (TempCount x 2)) columns and 22 rows, titled Final Scores.
      • Set VariableSet MultiboardEndScreen = (Last created multiboard)
      • Multiboard - Set the display style for MultiboardEndScreen item in column 0, row 0 to Show text and Hide icons
      • Multiboard - Set the width for MultiboardEndScreen item in column 0, row 0 to 5.00% of the total screen width
      • Multiboard - Set the width for MultiboardEndScreen item in column 1, row 0 to 8.00% of the total screen width
      • Multiboard - Set the width for MultiboardEndScreen item in column (2 + TempCount), row 0 to 10.00% of the total screen width
      • -------- Basic Scores --------
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 1 to |cff00ffffScores|r
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 2 to Lives
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 3 to Wins
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 4 to Draws
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 5 to Streak
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 6 to Value
      • -------- Factions --------
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 8 to |cff00ffffFactions|r
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 9 to Ancient
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 10 to Bandit
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 11 to Beast
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 12 to Critter
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 13 to Demon
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 14 to Dwarf
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 15 to Goblin
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 16 to Human
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 17 to Naga
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 18 to Night Elf
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 19 to Ogre
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 20 to Orc
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 21 to Spectre
      • Multiboard - Set the text for MultiboardEndScreen item in column 1, row 22 to Undead
      • -------- Traits --------
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 1 to |cff00ffffTraits|r
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 2 to Assassin
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 3 to Brawler
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 4 to Fighter
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 5 to Machine
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 6 to Mage
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 7 to Mauler
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 8 to Protector
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 9 to Ranger
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 10 to Spellcaster
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 11 to Summoner
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 13 to Alchemist
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 14 to Beastmaster
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 15 to Demon Hunter
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 16 to Elemental Panda
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 17 to Tinker
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 18 to War Machine
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 19 to World Tree
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 21 to Sheep of Justice
      • Multiboard - Set the text for MultiboardEndScreen item in column (2 + TempCount), row 22 to The Penguin
      • -------- FILL MULTIBOARD --------
      • Player Group - Pick every player in IntitalPlayers and do (Actions)
        • Loop - Actions
          • Set VariableSet TempInt = (Player number of (Picked player))
          • Multiboard - Set the text for MultiboardEndScreen item in column MultiboardPosition[TempInt], row 1 to (Name of (Picked player))
          • Multiboard - Set the text for MultiboardEndScreen item in column MultiboardPosition[TempInt], row 8 to (Name of (Picked player))
          • Multiboard - Set the text for MultiboardEndScreen item in column (MultiboardPosition[TempInt] + (TempCount + 1)), row 1 to (Name of (Picked player))
      • Multiboard - Show MultiboardEndScreen
      • Multiboard - Minimize MultiboardEndScreen
      • Multiboard - Maximize MultiboardEndScreen
 
Back
Top