Whats Wrong with this Multiboard?

Hot

New Member
Reaction score
9
Whats Wrong with this Multiboard?[Solved]

The problem is that no players are being added to the multiboard plz help


multiboard.png


Trigger:
  • MultiBoard Initialization
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • -------- ----------------------------------------------------------------- --------
      • Multiboard - Create a multiboard with 3 columns and (1 + (Number of players in InGamePlayers)) rows, titled |c00cc0000Informati...
      • -------- ----------------------------------------------------------------- --------
      • Set MultiBoard = (Last created multiboard)
      • -------- ----------------------------------------------------------------- --------
      • Multiboard - Minimize MultiBoard
      • -------- ----------------------------------------------------------------- --------
      • Multiboard - Set the text for MultiBoard item in column 1, row 1 to (cc_Players[0] + ([Players] + cc_Endtag))
      • Multiboard - Set the text for MultiBoard item in column 2, row 1 to (cc_Players[0] + ([Status] + cc_Endtag))
      • Multiboard - Set the text for MultiBoard item in column 3, row 1 to (cc_Players[0] + ([Wood] + cc_Endtag))
      • -------- ----------------------------------------------------------------- --------
      • For each (Integer A) from 1 to (1 + (Number of players in InGamePlayers)), do (Actions)
        • Loop - Actions
          • Multiboard - Set the width for MultiBoard item in column 1, row (Integer A) to 9.00% of the total screen width
          • Multiboard - Set the width for MultiBoard item in column 2, row (Integer A) to 7.80% of the total screen width
          • Multiboard - Set the width for MultiBoard item in column 3, row (Integer A) to 4.67% of the total screen width
          • -------- ----------------------------------------------------------------- --------
          • Multiboard - Set the display style for MultiBoard item in column 1, row (Integer A) to Show text and Hide icons
          • Multiboard - Set the display style for MultiBoard item in column 2, row (Integer A) to Show text and Hide icons
          • Multiboard - Set the display style for MultiBoard item in column 3, row (Integer A) to Show text and Hide icons
          • -------- ----------------------------------------------------------------- --------
          • Set Player_Colour = (Player_Colour + 1)
          • Set Player_row = (Player_row + 1)
          • -------- ----------------------------------------------------------------- --------
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row Player_row to cc_Players[(Player_Colour + (Length of ((Name of (Player(Player_Colour))) + cc_Endtag)))]

cc_palyers String Array[0-8]
Player_row Intger Base value 1
Player_Colour Intger
MultiBoard= Multiboard Variable

Trigger:
  • Install
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set InGamePlayers = (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing)))
      • -------- ----------------------------------------------------------------- --------
      • Set cc_Endtag = |r
      • Set cc_Players[0] = |cffffcc00
      • Set cc_Players[1] = |c00ff0303
      • Set cc_Players[2] = |c000042ff
      • Set cc_Players[3] = |c001ce6b9
      • Set cc_Players[4] = |c00540081
      • Set cc_Players[5] = |c00fffc01
      • Set cc_Players[6] = |c00feba0e
      • Set cc_Players[7] = |c0020c000
      • Set cc_Players[8] = |c00e55bb0
      • -------- ----------------------------------------------------------------- --------
      • Set Player_row = 2
 

Attachments

  • Lumberjacks.w3x
    86.1 KB · Views: 97

Komaqtion

You can change this now in User CP.
Reaction score
469
I don't think these have been initialized yet :S
Trigger:
  • Set Player_Colour = (Player_Colour + 1)
    • Set Player_row = (Player_row + 1)


Set them to 1 as the first lines, just to be safe ;)

Also (Just to be safe) change the event to 0.01... XD

Also, use the "MultiBoard" variable here:
Trigger:
  • Multiboard - Set the text for (Last created multiboard) item in column 1, row Player_row to cc_Players[(Player_Colour + (Length of ((Name of (Player(Player_Colour))) + cc_Endtag)))]


Also, what kind of variable are those cc_Players and such ?
 

Hot

New Member
Reaction score
9
cc_players are string varibles array so i can get the colours right
btw i did what u said it still dosent work and i post install triggers 2
 
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