I need a simple multiboard

bookyjoo

New Member
Reaction score
1
I tried to use the multiboard from the tutorial. I copied senkin's multiboard straight from the map and it does not work correctly. Can anyone give me a link to a working multiboard that just keeps track of kills?
 

bookyjoo

New Member
Reaction score
1
The reason I wanted a multiboard was because I wanted to add stuff to it later, but wanted the basics because my current multiboard does not work. So I was thinking maybe someone could help me with the basics of getting just a multiboard with kills for now to make sure it works and then build from there. Thanks for your help. Reps.
 

bookyjoo

New Member
Reaction score
1
Ok, so here's my modified version of the multiboard:

Trigger:
  • Create Multiboard Copy
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • 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 3 columns and (1 + Player_Count) rows, titled Vampires vs. Vampir...
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Player
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to Kills
      • -------- 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 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 12.25% of the total screen width
          • Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 2.50% 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\BTNHeroDreadLord.blp
          • 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 - Show (Last created multiboard)
 

bookyjoo

New Member
Reaction score
1
The multiboard shows up, but then when this trigger is used, the multiboard disappears and is replaced with a "team resources" board.

Trigger:
  • Initial
    • Events
      • Time - Elapsed game time is 2.00 seconds
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12, 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 unused
            • Then - Actions
              • Player Group - Pick every player in (All players matching (((Player((Integer A))) is an ally of (Matching player)) Equal to True)) and do (Actions)
                • Loop - Actions
                  • Player - For (Player((Integer A))), turn Full shared units On toward (Picked player)
                  • Game - Grant shared vision and full shared unit control of (Player((Integer A))) units with his/her allies
            • Else - Actions
 

asipo

New Member
Reaction score
15
Full shared unit control will automatically create another board, maybe it is replace by that.
 

Dest

New Member
Reaction score
26
Full shared unit control will automatically create another board, maybe it is replace by that.

If I believe, there can only be one multiboard at one time. Removing melee triggers should cover that.
 

UndeadDragon

Super Moderator
Reaction score
447
Trigger:
  • Game - Grant shared vision and full shared unit control of (Player((Integer A))) units with his/her allies


That is what is creating the resources multiboard.
 

bookyjoo

New Member
Reaction score
1
Trigger:
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Melee Game - Use melee time of day (for all players)
      • Melee Game - Remove creeps and critters from used start locations (for all players)



These are the only melee triggers I have. These are what are causing it?
 

bookyjoo

New Member
Reaction score
1
Ok... I fixed this problem by having the "initial" trigger fire before the multiboard trigger. So now the multiboard stays up, but it is still bugged because the score is never correct (usually everyone has same kill count no matter what). Could this have to do with giving control to active players?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top