• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Multiboard not showing, help?

Status
Not open for further replies.
Level 2
Joined
Apr 23, 2016
Messages
37
So, a little backstory before the trigger, aye? So. This trigger (Yes, GUI-made Multiboard.). Has worked in previous incarnations of the map that it is used in... But, it no longer does. The other triggers that are made for it do work.

And the problem as in how it doesn't work? It doesn't show. I suspect it kind of just gives up and commits triggericide.

  • Multiboard creation
    • Events
      • Time - Elapsed game time is 0.03 seconds
    • Conditions
    • Actions
      • Multiboard - Change the title of Multiboard to Hero Siege RPG
      • Multiboard - Change the number of rows for Multiboard to (2 + (Number of players in (All players matching (((Matching player) controller) Equal to User))))
      • Multiboard - Change the number of columns for Multiboard to 4
      • Multiboard - Set the text for Multiboard item in column 1, row 1 to Hero
      • Multiboard - Set the width for Multiboard item in column 1, row 1 to 2.00% of the total screen width
      • Multiboard - Set the text for Multiboard item in column 2, row 1 to Names
      • Multiboard - Set the width for Multiboard item in column 2, row 1 to 5.00% of the total screen width
      • Multiboard - Set the text for Multiboard item in column 4, row 1 to Kills
      • Multiboard - Set the text for Multiboard item in column 1, row (2 + (Number of players in (All players matching (((Matching player) controller) Equal to User)))) to Time:
      • Multiboard - Set the width for Multiboard item in column 2, row (2 + (Number of players in (All players matching (((Matching player) controller) Equal to User)))) to 8.00% of the total screen width
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked player) controller) Equal to User
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Picked player) Equal to Player 1 (Red)
                • Then - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Player 1 (Red) slot status) Equal to Is playing
                    • Then - Actions
                      • Multiboard - Set the text for Multiboard item in column 2, row player[1] to (|c00FF0303 + ((Name of (Player(1))) + |r))
                      • Multiboard - Set the text for Multiboard item in column 4, row player[1] to (String(PlayerKIlls[1]))
                      • Multiboard - Set the display style for Multiboard item in column 1, row player[1] to Hide text and Hide icons
                    • Else - Actions
                      • Multiboard - Set the text for Multiboard item in column 2, row player[1] to (|c00FF0303 + (Has Left + |r))
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Picked player) Equal to Player 2 (Blue)
                    • Then - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • (Player 2 (Blue) slot status) Equal to Is playing
                        • Then - Actions
                          • Multiboard - Set the text for Multiboard item in column 2, row player[2] to (|c000042FF + ((Name of (Player(2))) + |r))
                          • Multiboard - Set the text for Multiboard item in column 4, row player[2] to (String(PlayerKIlls[2]))
                          • Multiboard - Set the display style for Multiboard item in column 1, row player[2] to Hide text and Hide icons
                        • Else - Actions
                          • Multiboard - Set the text for Multiboard item in column 2, row player[2] to (|c000042FF + (Has Left + |r))
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • (Picked player) Equal to Player 3 (Teal)
                        • Then - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • (Player 3 (Teal) slot status) Equal to Is playing
                            • Then - Actions
                              • Multiboard - Set the text for Multiboard item in column 2, row player[3] to (|c001CE6B9 + ((Name of (Player(3))) + |r))
                              • Multiboard - Set the text for Multiboard item in column 4, row player[3] to (String(PlayerKIlls[3]))
                              • Multiboard - Set the display style for Multiboard item in column 1, row player[3] to Hide text and Hide icons
                            • Else - Actions
                              • Multiboard - Set the text for Multiboard item in column 2, row player[3] to (|c001CE6B9 + (Has Left + |r))
                        • Else - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • (Picked player) Equal to Player 4 (Purple)
                            • Then - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • (Player 4 (Purple) slot status) Equal to Is playing
                                • Then - Actions
                                  • Multiboard - Set the text for Multiboard item in column 2, row player[4] to (|c00540081 + ((Name of (Player(4))) + |r))
                                  • Multiboard - Set the text for Multiboard item in column 4, row player[4] to (String(PlayerKIlls[4]))
                                  • Multiboard - Set the display style for Multiboard item in column 1, row player[4] to Hide text and Hide icons
                                • Else - Actions
                                  • Multiboard - Set the text for Multiboard item in column 2, row player[4] to (|c00540081 + (Has Left + |r))
                            • Else - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • (Picked player) Equal to Player 5 (Yellow)
                                • Then - Actions
                                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    • If - Conditions
                                      • (Player 5 (Yellow) slot status) Equal to Is playing
                                    • Then - Actions
                                      • Multiboard - Set the text for Multiboard item in column 2, row player[5] to (|c00FFFC01 + ((Name of (Player(5))) + |r))
                                      • Multiboard - Set the text for Multiboard item in column 4, row player[5] to (String(PlayerKIlls[5]))
                                      • Multiboard - Set the display style for Multiboard item in column 1, row player[5] to Hide text and Hide icons
                                    • Else - Actions
                                      • Multiboard - Set the text for Multiboard item in column 2, row player[5] to (|c00FFFC01 + (Has Left + |r))
                                • Else - Actions
            • Else - Actions
      • For each (Integer A) from 1 to 4, do (Actions)
        • Loop - Actions
          • Multiboard - Set the display style for Multiboard item in column (Integer A), row 1 to Show text and Hide icons
          • Multiboard - Set the display style for Multiboard item in column (Integer A), row 2 to Show text and Hide icons
          • Multiboard - Set the display style for Multiboard item in column (Integer A), row 3 to Show text and Hide icons
          • Multiboard - Set the display style for Multiboard item in column (Integer A), row 4 to Show text and Hide icons
          • Multiboard - Set the display style for Multiboard item in column (Integer A), row 5 to Show text and Hide icons
          • Multiboard - Set the display style for Multiboard item in column (Integer A), row 6 to Show text and Hide icons
          • Multiboard - Set the display style for Multiboard item in column (Integer A), row 7 to Show text and Hide icons
          • Multiboard - Set the color for Multiboard item in column (Integer A), row 1 to (100.00%, 80.00%, 20.00%) with 0.00% transparency
      • For each (Integer A) from 2 to 6, do (Actions)
        • Loop - Actions
          • Multiboard - Set the width for Multiboard item in column 2, row (Integer A) to 6.00% of the total screen width
          • Multiboard - Set the width for Multiboard item in column 1, row (Integer A) to 2.00% of the total screen width
      • Multiboard - Show Multiboard
      • Custom script: call DestroyTrigger(GetTriggeringTrigger())
 

Jampion

Code Reviewer
Level 15
Joined
Mar 25, 2016
Messages
1,327
Somtimes it's the easiest things we forget.
Still, begs the question as to why it worked before... Pretty sure the tutorial I had when I first created it didn't initialize it either.
Maybe the tutorial used last created multiboard, but than it's a really bad tutorial. Still you need to create the multiboard at some point even if you do not store it and use last created multiboard.
 
Level 2
Joined
Apr 23, 2016
Messages
37
Somtimes it's the easiest things we forget.

Maybe the tutorial used last created multiboard, but than it's a really bad tutorial. Still you need to create the multiboard at some point even if you do not store it and use last created multiboard.
Nope, it did it as I showed you. The funny thing is, this exact trigger still works in the old version of the map.
 
Status
Not open for further replies.
Top