Multiboard - Assistance

lindenkron

You can change this now in User CP
Reaction score
102
FIXED(But not thanks to anyone here :))
___________________
Trigger:
  • Multiboard
    • Events
      • Time - Elapsed game time is 0.10 seconds
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 10, do (Actions)
        • Loop - Actions
          • Set Player = (Player((Integer A)))
          • Multiboard - Create a multiboard with 4 columns and WolfCount rows, titled Kills
          • Set ScoreBoard = (Last created multiboard)
          • Custom script: if GetLocalPlayer() == udg_Player then
          • -------- Width for all --------
          • Multiboard - Set the width for ScoreBoard item in column 1, row 0 to 10.00% of the total screen width
          • Multiboard - Set the width for ScoreBoard item in column 2, row 0 to 3.00% of the total screen width
          • Multiboard - Set the width for ScoreBoard item in column 3, row 0 to 3.00% of the total screen width
          • Multiboard - Set the width for ScoreBoard item in column 4, row 0 to 3.00% of the total screen width
          • -------- Row 1 (No text, only pictures) (Change pictures) --------
          • Multiboard - Set the display style for ScoreBoard item in column 1, row 1 to Show text and Show icons
          • Multiboard - Set the display style for ScoreBoard item in column 2, row 1 to Hide text and Show icons
          • Multiboard - Set the display style for ScoreBoard item in column 3, row 1 to Hide text and Show icons
          • Multiboard - Set the display style for ScoreBoard item in column 4, row 1 to Hide text and Show icons
          • Multiboard - Set the text for ScoreBoard item in column 1, row 1 to |cffffcc00Wolves|r
          • Multiboard - Set the icon for ScoreBoard item in column 1, row 1 to ReplaceableTextures\CommandButtons\BTNTimberWolf.blp
          • Multiboard - Set the icon for ScoreBoard item in column 2, row 1 to ReplaceableTextures\CommandButtons\BTNArcaniteArchitecture.blp
          • Multiboard - Set the icon for ScoreBoard item in column 3, row 1 to ReplaceableTextures\WorldEditUI\Editor-MultipleUnits.blp
          • Multiboard - Set the icon for ScoreBoard item in column 4, row 1 to ReplaceableTextures\CommandButtons\BTNStag.blp
          • -------- Coloum 1 (Picture + Text. Activity + Player name) --------
          • Multiboard - Set the display style for ScoreBoard item in column 1, row 2 to Show text and Show icons
          • Multiboard - Set the display style for ScoreBoard item in column 1, row 3 to Show text and Show icons
          • Multiboard - Set the display style for ScoreBoard item in column 1, row 4 to Show text and Show icons
          • For each (Integer B) from 1 to 3, do (Actions)
            • Loop - Actions
              • Set RowNumber = (RowNumber + 1)
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • ((Player((Integer B))) slot status) Equal to Is playing
                • Then - Actions
                  • Multiboard - Set the display style for ScoreBoard item in column 1, row RowNumber to Show text and Show icons
                  • Multiboard - Set the icon for ScoreBoard item in column 1, row RowNumber to ReplaceableTextures\WorldEditUI\Editor-Ally-HighPriority.blp
                  • Multiboard - Set the text for ScoreBoard item in column 1, row RowNumber to (Player_colour[(Player number of (Player((Integer B))))] + ((Name of (Player((Integer B)))) + |r))
                • Else - Actions
                  • Multiboard - Set the display style for ScoreBoard item in column 1, row RowNumber to Show text and Show icons
                  • Multiboard - Set the icon for ScoreBoard item in column 1, row RowNumber to ReplaceableTextures\WorldEditUI\Editor-Ally-NoPriority.blp
                  • Multiboard - Set the text for ScoreBoard item in column 1, row RowNumber to (Player_colour[0] + (No player + |r))
          • Set RowNumber = 1
          • -------- Coloum 2 (no picture, set the value to 0) --------
          • For each (Integer B) from 1 to 3, do (Actions)
            • Loop - Actions
              • Set RowNumber = (RowNumber + 1)
              • Multiboard - Set the text for ScoreBoard item in column 2, row RowNumber to (String(KilledBuildings[(Integer B)]))
              • Multiboard - Set the display style for ScoreBoard item in column 2, row RowNumber to Show text and Hide icons
          • Set RowNumber = 1
          • -------- Coloum 3 (no picture, set the value to 0) --------
          • For each (Integer B) from 1 to 3, do (Actions)
            • Loop - Actions
              • Set RowNumber = (RowNumber + 1)
              • Multiboard - Set the text for ScoreBoard item in column 3, row RowNumber to (String(KilledUnits[(Integer B)]))
              • Multiboard - Set the display style for ScoreBoard item in column 3, row RowNumber to Show text and Hide icons
          • Set RowNumber = 1
          • -------- Coloum 4 (no picture, set the value to 0) --------
          • For each (Integer B) from 1 to 3, do (Actions)
            • Loop - Actions
              • Set RowNumber = (RowNumber + 1)
              • Multiboard - Set the text for ScoreBoard item in column 4, row RowNumber to (String(KilledDeers[(Integer B)]))
              • Multiboard - Set the display style for ScoreBoard item in column 4, row RowNumber to Show text and Hide icons
          • Set RowNumber = 1
          • Multiboard - Show ScoreBoard
          • Custom script: endif


I'd greatly appreciate if anyone could tell me why this gives me:
300e4u8.jpg


Like you can see, it's missing player names, icon images, board width, values and basically everything.

It was suppose to look something like this:
311uct0.jpg


In advance, thx.
-Lindenkron
 

lindenkron

You can change this now in User CP
Reaction score
102
It's the loops messing up somewhere. Everything is being showed, just don't know what exactly I'm doing wrong. In my head it should all make sense.
 

Dirac

22710180
Reaction score
147
Multiboard - Set the display style for ScoreBoard item in column 1, row RowNumber to Show text and Show icons

thats the problem
 

lindenkron

You can change this now in User CP
Reaction score
102
Multiboard - Set the display style for ScoreBoard item in column 1, row RowNumber to Show text and Show icons

thats the problem

Could you be abit more preciese.. why is that the problem?
 

Dirac

22710180
Reaction score
147
1rst... you confused rows with colums here (i think)
Trigger:
  • Multiboard - Set the icon for ScoreBoard item in column 4, row 1 to ReplaceableTextures\CommandButtons\BTNStag.blp


2nd Each slot has defaulted to show icons, instead of turning some of them on, you should turn the other ones off
 

lindenkron

You can change this now in User CP
Reaction score
102
1rst... you confused rows with colums here (i think)
Trigger:
  • Multiboard - Set the icon for ScoreBoard item in column 4, row 1 to ReplaceableTextures\CommandButtons\BTNStag.blp


2nd Each slot has defaulted to show icons, instead of turning some of them on, you should turn the other ones off

No I didn't... That is the first Row /\ on the 4th Coloum ->
It's supposed to be an image of a Deer (stag) and nothing else.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top