Multiboard Icon

DeeVee

New Member
Reaction score
4
I am making a Sheep Tag game, and when one team gets all their sheep captured, they switch to the wolves team and the wolves switch to the sheep team. My multiboard trigger is:
Trigger:
  • Events
    • Time - Elapsed game time is 0.05 seconds
    • Conditions
    • Actions
      • Set Sheep_Count = (Number of players in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User))))
      • Multiboard - Create a multiboard with 2 columns and (1 + Sheep_Count) rows, titled Game
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Player
      • For each (Integer A) from 1 to (1 + Sheep_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 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
      • 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\WorldEditUI\Default
          • 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 - Minimize (Last created multiboard)
      • Multiboard - Maximize (Last created multiboard)



The trigger for my icons is:
Trigger:
  • Events
    • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Player Group - Pick every player in Sheep_PG and do (Actions)
        • Loop - Actions
          • Multiboard - Set the icon for (Last created multiboard) item in column 1, row (Player number of (Picked player)) to ReplaceableTextures\CommandButtons\BTNSheep.blp
      • Player Group - Pick every player in Wolf_PG and do (Actions)
        • Loop - Actions
          • Multiboard - Set the icon for (Last created multiboard) item in column 1, row (Integer A) to ReplaceableTextures\CommandButtons\BTNRaider.blp


I know this icon trigger doesn't work for how my multiboard is set up but I was hoping someone can help me build off my icon trigger to make it compatable with my multiboard.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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