Multiboard Problem

exrio

New Member
Reaction score
0
OK I've created a multiboard, when player joins my game the row increases, the problem is I set rows 3 - 10 to specific colors from blue to gray, so when there is space like blue color is not chosen and teal is the first one the order is still blue to gray in order.

How can I specify that a color is not used and will use the next color in line like if I choose to play alone and select yellow as color instead of blue yellow will appear in the 3rd row.
 
First you need to set up a variable type integer.Then set integer equal to number of playing players .Create a multiboard with integer rows.
For each integer A from 1-Max player number of your game create another variable type string and set ab for exemple colour[1]=|CFFFF0303 and so...Change color of text in row bla bla row integer to colour[player number].
Hope that you get the ideea.
BTW those are colour codes

Red: |CFFFF0303 |R (255,3,3)
Blue: |CFF0042FF |R (0,66,255)
Teal: |CFF1CB619 |R (28,230,185)
Purple: |CFF540081 |R (80,0,129)
Yellow: |CFFFFFF01 |R (255,255,1)
Orange: |CFFFE8A0E |R (254,138,14)
Green: |CFF20C000 |R (32,192,0)
Pink: |CFFE55BB0 |R (229,91,176)
Grey: |CFF959697 |R (149,150,151)
Light Blue: |CFF7EBFF1 |R (126,191,241)
Dark Green: |CFF106246 |R (16,98,70)
Brown: |CFF4E2A04 |R (74,42,4)

This my multiboard.You can use like an example.If hope that i was usefull.
Trigger:
  • Multiboard
    • Events
      • Time - Elapsed game time is 2.00 seconds
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 5 columns and ((Number of players in (All players matching (((Matching player) slot status) Equal to Is playing))) + 1) rows, titled |cff0000ffDefense o...
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 1 to 9.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 1 to 6.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 1 to 5.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 4, row 1 to 5.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 5, row 1 to 5.00% of the total screen width
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to |CFF0042FFPlayer |R
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to |CFF0042FFStatus |R
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to |CFF0042FFDeath|R
      • Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to |CFF0042FFKill|R
      • Multiboard - Set the text for (Last created multiboard) item in column 5, row 1 to |CFF0042FFCreep Kil...
      • Multiboard - Set the icon for (Last created multiboard) item in column 1, row 1 to ReplaceableTextures\CommandButtons\BTNHeroAlchemist.blp
      • Multiboard - Set the icon for (Last created multiboard) item in column 2, row 1 to ReplaceableTextures\CommandButtons\BTNScrollOfRegenerationGreen.blp
      • Multiboard - Set the icon for (Last created multiboard) item in column 3, row 1 to ReplaceableTextures\CommandButtons\BTNAcidBomb.blp
      • Multiboard - Set the icon for (Last created multiboard) item in column 4, row 1 to ReplaceableTextures\CommandButtons\BTNBattleStations.blp
      • Multiboard - Set the icon for (Last created multiboard) item in column 5, row 1 to ReplaceableTextures\CommandButtons\BTNBearForm.blp
      • For each (Integer A) from 1 to 10, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Player((Integer A))) slot status) Equal to Is playing
            • Then - Actions
              • Set Multi_count = (Multi_count + 1)
              • Set Multi_row[(Player number of (Player((Integer A))))] = Multi_count
              • -------- /////////////////////////// --------
              • Multiboard - Set the width for (Last created multiboard) item in column 1, row Multi_row[(Player number of (Player((Integer A))))] to 9.00% of the total screen width
              • Multiboard - Set the width for (Last created multiboard) item in column 2, row Multi_row[(Player number of (Player((Integer A))))] to 6.00% of the total screen width
              • Multiboard - Set the width for (Last created multiboard) item in column 3, row Multi_row[(Player number of (Player((Integer A))))] to 5.00% of the total screen width
              • Multiboard - Set the width for (Last created multiboard) item in column 4, row Multi_row[(Player number of (Player((Integer A))))] to 5.00% of the total screen width
              • Multiboard - Set the width for (Last created multiboard) item in column 5, row Multi_row[(Player number of (Player((Integer A))))] to 5.00% of the total screen width
              • -------- /////////////////////////// --------
              • Multiboard - Set the text for (Last created multiboard) item in column 1, row Multi_row[(Player number of (Player((Integer A))))] to (Name of (Player((Integer A))))
              • Multiboard - Set the text for (Last created multiboard) item in column 2, row Multi_row[(Player number of (Player((Integer A))))] to |CFF20C000Online |R
              • Multiboard - Set the text for (Last created multiboard) item in column 3, row Multi_row[(Player number of (Player((Integer A))))] to (|CFF0042FF + ((String(HD[(Integer A)])) + |R))
              • Multiboard - Set the text for (Last created multiboard) item in column 4, row Multi_row[(Player number of (Player((Integer A))))] to (|CFFFF0303 + ((String(HK[(Integer A)])) + |R))
              • Multiboard - Set the text for (Last created multiboard) item in column 5, row Multi_row[(Player number of (Player((Integer A))))] to (|CFF20C000 + ((String(CK[(Integer A)])) + |R))
              • -------- /////////////////////////// --------
              • Multiboard - Set the icon for (Last created multiboard) item in column 1, row Multi_row[(Player number of (Player((Integer A))))] to ReplaceableTextures\CommandButtons\BTNAcolyte.blp
              • Multiboard - Set the icon for (Last created multiboard) item in column 2, row Multi_row[(Player number of (Player((Integer A))))] to ReplaceableTextures\CommandButtons\BTNBansheeMaster.blp
              • Multiboard - Set the icon for (Last created multiboard) item in column 3, row Multi_row[(Player number of (Player((Integer A))))] to ReplaceableTextures\CommandButtons\BTNAcidBomb.blp
              • Multiboard - Set the icon for (Last created multiboard) item in column 4, row Multi_row[(Player number of (Player((Integer A))))] to ReplaceableTextures\CommandButtons\BTNBattleStations.blp
              • Multiboard - Set the icon for (Last created multiboard) item in column 5, row Multi_row[(Player number of (Player((Integer A))))] to ReplaceableTextures\CommandButtons\BTNBearForm.blp
            • Else - Actions
 
wow this is really long.... took me around 3min to understand, lol. btw, thanks, needed it too
 
I know that is quite long but also I think that is complex.If u need it or like it then I happy to help u. :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      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