• 🏆 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!

Multiboard coming too long

Status
Not open for further replies.
Level 3
Joined
Jun 18, 2010
Messages
33
Hi.

I have problem: I would have a little multiboard, but when I would like to make the text space a bit more larger, but when I add the space a bit, for example: 0,05%, it make the area much bigger, and the text is not even shown.

After Lives / Respawn the window is too wide.
HiveWorkshop%20Multiboard.jpg


Here's my trigger:
  • Multiboard
    • Events
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 5 columns and 10 rows, titled TestTestTest
      • Set MultiboardStats = (Last created multiboard)
      • Multiboard - Set the display style for MultiboardStats item in column 0, row 0 to Show text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 2, row 1 to Hide text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 3, row 1 to Hide text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 4, row 1 to Hide text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 5, row 1 to Hide text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 2, row 2 to Show text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 3, row 2 to Hide text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 4, row 2 to Hide text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 5, row 2 to Hide text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 2, row 10 to Hide text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 3, row 10 to Hide text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 4, row 10 to Hide text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 5, row 10 to Hide text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 2, row 0 to Show text and Show icons
      • Multiboard - Set the display style for MultiboardStats item in column 2, row 1 to Show text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 2, row 2 to Show text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 2, row 3 to Show text and Hide icons
      • Multiboard - Set the display style for MultiboardStats item in column 2, row 10 to Show text and Hide icons
      • Multiboard - Set the icon for MultiboardStats item in column 0, row 0 to UI\Feedback\Resources\ResourceGold.blp
      • Multiboard - Set the text for MultiboardStats item in column 1, row 1 to |CFF7FBFF1Ikx_1 |CF...
      • Multiboard - Set the text for MultiboardStats item in column 1, row 2 to |CFF20C000TestTest...
      • Multiboard - Set the text for MultiboardStats item in column 2, row 2 to |CFFFFCC00Lives /|r
      • Multiboard - Set the text for MultiboardStats item in column 1, row 3 to |CFFFFCC00Player:|r
      • Multiboard - Set the text for MultiboardStats item in column 2, row 3 to |CFFFFCC00Gold:|r
      • Multiboard - Set the text for MultiboardStats item in column 3, row 3 to |CFFFFCC00Kills:|r
      • Multiboard - Set the text for MultiboardStats item in column 4, row 3 to |CFFFFCC00Level:|r
      • Multiboard - Set the text for MultiboardStats item in column 5, row 3 to |CFFFFCC00Respawn:|r
      • If (((Player 1 (Red) slot status) Equal to Is playing) and ((Player 1 (Red) controller) Equal to User)) then do (Multiboard - Set the text for MultiboardStats item in column 1, row 4 to (Name of Player 1 (Red))) else do (Multiboard - Set the text for MultiboardStats item in column 1, row 4 to |CFF808080<unused>|r)
      • If (((Player 2 (Blue) slot status) Equal to Is playing) and ((Player 2 (Blue) controller) Equal to User)) then do (Multiboard - Set the text for MultiboardStats item in column 1, row 5 to (Name of Player 2 (Blue))) else do (Multiboard - Set the text for MultiboardStats item in column 1, row 5 to |CFF808080<unused>|r)
      • If (((Player 3 (Teal) slot status) Equal to Is playing) and ((Player 3 (Teal) controller) Equal to User)) then do (Multiboard - Set the text for MultiboardStats item in column 1, row 6 to (Name of Player 3 (Teal))) else do (Multiboard - Set the text for MultiboardStats item in column 1, row 6 to |CFF808080<unused>|r)
      • If (((Player 4 (Purple) slot status) Equal to Is playing) and ((Player 4 (Purple) controller) Equal to User)) then do (Multiboard - Set the text for MultiboardStats item in column 1, row 7 to (Name of Player 4 (Purple))) else do (Multiboard - Set the text for MultiboardStats item in column 1, row 7 to |CFF808080<unused>|r)
      • If (((Player 5 (Yellow) slot status) Equal to Is playing) and ((Player 5 (Yellow) controller) Equal to User)) then do (Multiboard - Set the text for MultiboardStats item in column 1, row 8 to (Name of Player 5 (Yellow))) else do (Multiboard - Set the text for MultiboardStats item in column 1, row 8 to |CFF808080<unused>|r)
      • Multiboard - Set the text for MultiboardStats item in column 1, row 9 to |CFFFFCC00Total:|r
      • Multiboard - Set the text for MultiboardStats item in column 1, row 10 to Info:
      • Multiboard - Set the width for MultiboardStats item in column 1, row 0 to 12.00% of the total screen width
      • Multiboard - Set the width for MultiboardStats item in column 0, row 1 to 0.00% of the total screen width
      • Multiboard - Set the width for MultiboardStats item in column 2, row 0 to 3.50% of the total screen width
      • Multiboard - Set the width for MultiboardStats item in column 3, row 0 to 3.50% of the total screen width
      • Multiboard - Set the width for MultiboardStats item in column 4, row 0 to 3.50% of the total screen width
      • Multiboard - Set the width for MultiboardStats item in column 5, row 0 to 3.00% of the total screen width
      • Multiboard - Set the width for MultiboardStats item in column 1, row 10 to 15.00% of the total screen width
      • Multiboard - Set the width for MultiboardStats item in column 1, row 1 to 15.00% of the total screen width
      • Multiboard - Set the width for MultiboardStats item in column 1, row 2 to 22.75% of the total screen width
      • Multiboard - Set the text for MultiboardStats item in column 2, row 4 to (String((Player 1 (Red) Current gold)))
      • Multiboard - Set the text for MultiboardStats item in column 2, row 5 to (String((Player 2 (Blue) Current gold)))
      • Multiboard - Set the text for MultiboardStats item in column 2, row 6 to (String((Player 3 (Teal) Current gold)))
      • Multiboard - Set the text for MultiboardStats item in column 2, row 7 to (String((Player 4 (Purple) Current gold)))
      • Multiboard - Set the text for MultiboardStats item in column 2, row 8 to (String((Player 5 (Yellow) Current gold)))
      • Multiboard - Set the text for MultiboardStats item in column 3, row 4 to (String(Kills[1]))
      • Multiboard - Set the text for MultiboardStats item in column 3, row 5 to (String(Kills[2]))
      • Multiboard - Set the text for MultiboardStats item in column 3, row 6 to (String(Kills[3]))
      • Multiboard - Set the text for MultiboardStats item in column 3, row 7 to (String(Kills[4]))
      • Multiboard - Set the text for MultiboardStats item in column 3, row 8 to (String(Kills[5]))
      • Multiboard - Set the text for MultiboardStats item in column 4, row 4 to 1
      • Multiboard - Set the text for MultiboardStats item in column 4, row 5 to 1
      • Multiboard - Set the text for MultiboardStats item in column 4, row 6 to 1
      • Multiboard - Set the text for MultiboardStats item in column 4, row 7 to 1
      • Multiboard - Set the text for MultiboardStats item in column 4, row 8 to 1
      • Multiboard - Set the text for MultiboardStats item in column 5, row 4 to (String(RespawnLives[1]))
      • Multiboard - Set the text for MultiboardStats item in column 5, row 5 to (String(RespawnLives[2]))
      • Multiboard - Set the text for MultiboardStats item in column 5, row 6 to (String(RespawnLives[3]))
      • Multiboard - Set the text for MultiboardStats item in column 5, row 7 to (String(RespawnLives[4]))
      • Multiboard - Set the text for MultiboardStats item in column 5, row 8 to (String(RespawnLives[5]))
      • Multiboard - Minimize MultiboardStats
      • Multiboard - Maximize MultiboardStats
 
Last edited:
Level 29
Joined
Mar 10, 2009
Messages
5,016
use loops like this to shorten multiboard setup trigger...

  • Multiboard
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 2 columns and 10 rows, titled Kills
      • Set MB = (Last created multiboard)
      • For each (Integer A) from 1 to 2, do (Actions)
        • Loop - Actions
          • Multiboard - Set the text for MB item in column 1, row ((Integer A) + 1) to (Player + (String((Integer A))))
      • For each (Integer B) from 1 to 10, do (Actions)
        • Loop - Actions
          • Multiboard - Set the width for MB item in column 1, row (Integer B) to 10.00% of the total screen width
          • Multiboard - Set the width for MB item in column 2, row (Integer B) to 5.00% of the total screen width
          • Multiboard - Set the display style for MB item in column 1, row (Integer B) to Show text and Hide icons
          • Multiboard - Set the display style for MB item in column 2, row (Integer B) to Show text and Hide icons
      • Multiboard - Set the text for MB item in column 2, row 1 to Kills
 
Status
Not open for further replies.
Top