MUltiboard Logic Problem.

DiFm

New Member
Reaction score
35
Trigger:
  • MultiBoard
    • Events
      • Time - Elapsed game time is 5.00 seconds
    • Conditions
    • Actions
      • Set Colours[0] = |cffffcc00
      • Set Colours[1] = |cffFF0202
      • Set Colours[2] = |cff0041FF
      • Set Colours[3] = |cff1BE6B8
      • Set Colours[4] = |cff530080
      • Set Colours[5] = |cffFFFC00
      • Set Colours[6] = |cffFE890D
      • Set Colours[7] = |cff1FBF00
      • Set Colours[8] = |cffE55AAF
      • Set Colours[9] = |cff949596
      • Set Colours[10] = |cff7DBEF1
      • Set Colours[11] = |cff0F6145
      • Set Colours[12] = |cff4D2903
      • Set End_tag = |r
      • Player - Set Player 1 (Red) Current lumber to (Number of players in All_Players)
      • Multiboard - Create a multiboard with 6 columns and ((Number of players in All_Players) + 1) rows, titled Ultimate Showdown
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to (Colours[0] + (Fighters + End_tag))
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to (Colours[0] + (Revive + End_tag))
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to (Colours[0] + (Kills + End_tag))
      • Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to (Colours[0] + (Deaths + End_tag))
      • Multiboard - Set the text for (Last created multiboard) item in column 5, row 1 to (Colours[0] + (CS + End_tag))
      • Multiboard - Set the text for (Last created multiboard) item in column 6, row 1 to (Colours[0] + (Deny + End_tag))
      • For each (Integer A) from 1 to ((Number of players in All_Players) + 1), do (Actions)
        • Loop - Actions
          • For each (Integer B) from 1 to 6, do (Actions)
            • Loop - Actions
              • Multiboard - Set the display style for (Last created multiboard) item in column (Integer B), row (Integer A) to Show text and Hide icons
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Integer B) Equal to 1
                • Then - Actions
                  • Multiboard - Set the width for (Last created multiboard) item in column (Integer B), row (Integer A) to 9.00% of the total screen width
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Integer B) Greater than or equal to 5
                    • Then - Actions
                      • Multiboard - Set the width for (Last created multiboard) item in column (Integer B), row (Integer A) to 3.00% of the total screen width
                    • Else - Actions
                      • Multiboard - Set the width for (Last created multiboard) item in column (Integer B), row (Integer A) to 4.00% of the total screen width
      • Multiboard - Show (Last created multiboard)
      • Trigger - Run Multiboard Display <gen> (checking conditions)


Trigger:
  • Multiboard Display
    • Events
    • Conditions
    • Actions
      • Set MultiBoard = 1
      • Player Group - Pick every player in All_Players and do (Actions)
        • Loop - Actions
          • Set MultiBoard = (MultiBoard + 1)
          • Set String_Name[(Player number of (Picked player))] = (Colours[(Player number of (Picked player))] + ((Name of (Picked player)) + End_tag))
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row MultiBoard to String_Name[(Player number of (Triggering player))]
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row MultiBoard to (String(Hero_Kills[(Player number of (Picked player))]))
          • Multiboard - Set the text for (Last created multiboard) item in column 4, row MultiBoard to (String(Hero_Deaths[(Player number of (Picked player))]))
          • Multiboard - Set the text for (Last created multiboard) item in column 5, row MultiBoard to (String(Counter_CS[(Player number of (Picked player))]))
          • Multiboard - Set the text for (Last created multiboard) item in column 6, row MultiBoard to (String(Counter_Deny[(Player number of (Picked player))]))


OKey for some reason Player (1)'s name get repeated in all the rows from row 2 til the numbers of players +1
 

Dinowc

don't expect anything, prepare for everything
Reaction score
223
Multiboard - Set the text for (Last created multiboard) item in column 1, row MultiBoard to String_Name[(Player number of (Triggering player))]

you didn't set picked player
 
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