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

Ask For Multiboards

Status
Not open for further replies.
Here's the trigger. The only thing that's missing is the color of the player. It's a little too much work I think.. sry.
You just have to update the multiboard and the variables, and you're good to go! :D

  • Initialization
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 3 columns and 8 rows, titled Multiboard
      • Set Multiboard = (Last created multiboard)
      • Multiboard - Change the title of Multiboard to Multiboard
      • Multiboard - Set the display style for Multiboard item in column 0, row 0 to Show text and Hide icons
      • Multiboard - Set the display style for Multiboard item in column 2, row 0 to Show text and Show icons
      • Multiboard - Set the width for Multiboard item in column 1, row 0 to 12.00% of the total screen width
      • Multiboard - Set the width for Multiboard item in column 2, row 0 to 5.00% of the total screen width
      • Multiboard - Set the width for Multiboard item in column 3, row 0 to 5.00% of the total screen width
      • For each (Integer A) from 1 to 8, 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
              • Multiboard - Set the text for Multiboard item in column 1, row (Integer A) to (Name of (Player((Integer A))))
            • Else - Actions
      • For each (Integer A) from 1 to 8, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Player((Integer A))) slot status) Not equal to Is playing
            • Then - Actions
              • Multiboard - Set the display style for Multiboard item in column 0, row (Integer A) to Hide text and Hide icons
            • Else - Actions
      • For each (Integer A) from 1 to 8, do (Actions)
        • Loop - Actions
          • Multiboard - Set the text for Multiboard item in column 2, row (Integer A) to (String(Value[(Integer A)]))
      • For each (Integer A) from 1 to 8, do (Actions)
        • Loop - Actions
          • Multiboard - Set the text for Multiboard item in column 3, row (Integer A) to (String(Value_Max[(Integer A)]))
      • Multiboard - Show Multiboard
 

Attachments

  • Spell1.w3x
    16.8 KB · Views: 43
Status
Not open for further replies.
Top