• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Multiboard Help!

Status
Not open for further replies.
Level 11
Joined
Jul 9, 2009
Messages
927
So my multiboard trigger looks like this
  • Create Multiboard
    • Events
      • Unit - A unit enters Starting Region <gen>
    • 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 5 columns and (1 + Player_Count) rows, titled Character Status
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Level
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to Health
      • Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to Stamina
      • -------- Now set the fields for the first row, AND our player rows. --------
      • 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 (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 4.75% of the total screen width
          • Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 5.00% of the total screen width
          • Multiboard - Set the width for (Last created multiboard) item in column 4, row (Integer A) to 5.00% of the total screen width
      • -------- Quickly change the top row to hide that icon.... --------
      • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Show text and Hide icons
      • -------- DEFINE PLAYERS ON THE BOARD --------
      • -------- List defines the spots on the board, the rows. Starts at second row. --------
      • 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
          • -------- Mutiboard_Spots keeps track of which row a player has been put on. It is an integer array. --------
          • 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\BTNFootman.blp
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row List to ((String((Level of (Triggering unit)))) + <Empty String>)
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row List to (String((Percentage life of (Triggering unit))))
          • Multiboard - Set the text for (Last created multiboard) item in column 4, row List to (String((Percentage mana of (Triggering unit))))
          • Set List = (List + 1)
      • Multiboard - Show (Last created multiboard)
it does it correctly in game, it shows the level, percentage of health and Stamina(Mana) left. but when I level up, or when the percentage of my life and stamina is supposed to go down, it still shows up as LEVEL 1, 100% Health and 100% Stamina. can anybody help me on how to make the multiboard show the current level, Health, Stamina of your hero.
 
Status
Not open for further replies.
Top