Multiboard Column 4

Sessional

New Member
Reaction score
5
Using Senkins multiboard as a base, I attempted it to modify my games needs. However, the column title of column 4 won't change from 0. Any ideas?
Code:
Create Multiboard
    Events
        Time - Elapsed game time is 1.00 seconds
    Conditions
    Actions
        Set Player_Count = (Number of players in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing))))
        Multiboard - Create a multiboard with 4 columns and (1 + Player_Count) rows, titled Player Information
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Player Name
        Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to Kills
        Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to Deaths
        For each (Integer A) from 1 to (1 + Player_Count), do (Actions)
            Loop - Actions
                Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Show text and Hide icons
                Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Show 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 display style for (Last created multiboard) item in column 5, 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 2.00% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 8.00% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 2.60% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 4, row (Integer A) to 4.00% of the total screen width
        Set List = 2
        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 Multiboard_Spots[(Player number of (Picked player))] = List
                Multiboard - Set the icon for (Last created multiboard) item in column 1, row List to ReplaceableTextures\CommandButtons\BTNKotoBeast.blp
                Multiboard - Set the text for (Last created multiboard) item in column 2, row List to (Player_Colors[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
                Multiboard - Set the text for (Last created multiboard) item in column 3, row List to 0
                Set List = (List + 1)
        Multiboard - Show (Last created multiboard)
 
Looks good to me. I have also noticed that you created a column 4 but are not using it.
 
This should Work but its all free hand.
Code:
E- Unit Dies
C- Unit is a hero
A- Set deaths[player number of (owner of triggering unit)] = deaths[player number of (owner of triggering unit)] + 1

Multiboard - Set the text for (Last created multiboard) item in column 4, row multiboard_spots[(Player number of (Owner of (Triggering unit)))] to deaths[(Player number of (Owner of (Triggering unit)))]
 
Well, row number one, which I do set in the trigger, stays as a number 0. Why is that happening?
 
you sure your not confusing columns with rows? i did that once..

Row: Column Column Column
Row: Column Column Column
Row: Column Column Column
 
Code:
 Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to Deaths

I guarantee that I'm not confusing it.
The picture turns into -
Code:
[] Player Name  Kills  0
[] World Edit    0     0
 
Rewrote the trigger, works cleanly now. Now I just need some multiboard users that can fix it up to make it look pretty all the time.

Code:
Create Multiboard
    Events
        Time - Elapsed game time is 1.00 seconds
    Conditions
    Actions
        Player Group - Pick every player in (All players matching ((((Matching player) slot status) Not equal to Is playing) and (((Matching player) controller) Equal to User))) and do (Actions)
            Loop - Actions
                Player - Set name of (Picked player) to Unused Slot
        Set Player_Count = 8
        Multiboard - Create a multiboard with 5 columns and (4 + Player_Count) rows, titled Game Information
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to |cffffcc00[Team ]|r
        Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to |cffffcc00[Kills]|r
        Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to |cffffcc00[Deaths]|...
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (Player_Colors[1] + (Team One + |r))
        Multiboard - Set the text for (Last created multiboard) item in column 3, row 2 to (String(teamKills[1]))
        Multiboard - Set the text for (Last created multiboard) item in column 4, row 2 to (String(teamDeaths[1]))
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 3 to (Player_Colors[5] + (Team Two + |r))
        Multiboard - Set the text for (Last created multiboard) item in column 3, row 3 to (String(teamKills[2]))
        Multiboard - Set the text for (Last created multiboard) item in column 4, row 3 to (String(teamDeaths[2]))
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 4 to |cffffcc00[Player N...
        Multiboard - Set the text for (Last created multiboard) item in column 3, row 4 to |cffffcc00[Kills]|r
        Multiboard - Set the text for (Last created multiboard) item in column 4, row 4 to |cffffcc00[Deaths]|...
        Multiboard - Set the text for (Last created multiboard) item in column 5, row 4 to |cffffcc00[Dead]|r
        For each (Integer c) from 1 to (4 + Player_Count), do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        c Greater than 4
                    Then - Actions
                        Multiboard - Set the display style for (Last created multiboard) item in column 1, row c to Hide text and Show icons
                        Multiboard - Set the icon for (Last created multiboard) item in column 1, row c to ReplaceableTextures\CommandButtons\BTNKotoBeast.blp
                        Multiboard - Set the width for (Last created multiboard) item in column 1, row c to 1.10% of the total screen width
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                c Equal to 4
                            Then - Actions
                                Multiboard - Set the display style for (Last created multiboard) item in column 1, row c to Hide text and Hide icons
                                Multiboard - Set the width for (Last created multiboard) item in column 1, row c to 1.10% of the total screen width
                            Else - Actions
                                Multiboard - Set the display style for (Last created multiboard) item in column 1, row c to Hide text and Hide icons
                                Multiboard - Set the width for (Last created multiboard) item in column 1, row c to 0.01% of the total screen width
        For each (Integer A) from 1 to (4 + Player_Count), do (Actions)
            Loop - Actions
                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 display style for (Last created multiboard) item in column 5, row (Integer A) to Show text and Hide icons
        For each (Integer B) from 1 to (4 + Player_Count), do (Actions)
            Loop - Actions
                Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer B) to 10.00% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer B) to 4.00% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 4, row (Integer B) to 6.00% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 5, row (Integer B) to 4.00% of the total screen width
                Multiboard - Show (Last created multiboard)
        For each (Integer p) from 5 to (4 + Player_Count), do (Actions)
            Loop - Actions
                Set player_row[(p - 4)] = p
                Multiboard - Set the text for (Last created multiboard) item in column 2, row p to (Player_Colors[(p - 4)] + ((Name of (Player((p - 4)))) + |r))
                Multiboard - Set the text for (Last created multiboard) item in column 3, row p to (String(playerKills[(p - 4)]))
                Multiboard - Set the text for (Last created multiboard) item in column 4, row p to (String(playerDeaths[(p - 4)]))
                Multiboard - Set the text for (Last created multiboard) item in column 5, row p to (String(deadTimer[(p - 4)]))
        Multiboard - Show (Last created multiboard)
I want to make it so I DON'T have to have all my players in there to make the triggers I have in the map function properly.
Example: I want to be able to use this trigger without any problems if I take out the rows for the players that AREN'T playing.
Code:
SetDeadTimerT1
    Events
        Unit - A unit Dies
    Conditions
        ((Triggering unit) belongs to an ally of Player 1 (Red)) Equal to True
    Actions
        Set deadTimer[(Player number of (Owner of (Triggering unit)))] = 10
        Set playerDeaths[(Player number of (Owner of (Triggering unit)))] = (playerDeaths[(Player number of (Owner of (Triggering unit)))] + 1)
        Multiboard - Set the text for (Last created multiboard) item in column 4, row player_row[(Player number of (Owner of (Triggering unit)))] to (String(playerDeaths[(Player number of (Owner of (Triggering unit)))]))
        Set teamDeaths[1] = (playerDeaths[1] + (playerDeaths[2] + (playerDeaths[3] + playerDeaths[4])))
        Multiboard - Set the text for (Last created multiboard) item in column 4, row 2 to (String(teamDeaths[1]))

Any ideas that you think might work, post them and I'll give a try real quick and get back to you.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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 The Helper:
    I would like to see it again like Ghan had it the first time with pagination though - without the pagination that view will not work but with pagination it just might...
  • The Helper The Helper:
    This drink recipe I have had more than a few times back in the day! Mind Eraser https://www.thehelper.net/threads/cocktail-mind-eraser.194720/

      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