Multiboard with timer

morcius

New Member
Reaction score
1
How can add a timer to this multyboard wich can expires or smth...?


Code:
Multiboard
    Events
        Time - Elapsed game time is 0.00 seconds
    Conditions
    Actions
        Multiboard - Create a multiboard with 3 columns and (4 + (Number of players in Players_playing)) rows, titled Status
        Set Multiboard = (Last created multiboard)
        Multiboard - Set the text for Multiboard item in column 1, row 1 to (Color[0] + ([Player Name] + ColorEndTag))
        Multiboard - Set the text for Multiboard item in column 2, row 1 to (Color[0] + ([Wepon] + ColorEndTag))
        Multiboard - Set the text for Multiboard item in column 3, row 1 to (Color[0] + ([Timer] + ColorEndTag))
        -------- --------------------- --------
        For each (Integer A) from 1 to (4 + (Number of players in Players_playing)), do (Actions)
            Loop - Actions
                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
                Multiboard - Set the width for Multiboard item in column 1, row (Integer A) to 8.00% of the total screen width
                Multiboard - Set the width for Multiboard item in column 2, row (Integer A) to 5.00% of the total screen width
                Multiboard - Set the width for Multiboard item in column 3, row (Integer A) to 4.00% of the total screen width
                -------- --------------------- --------
                Multiboard - Set the text for Multiboard item in column 1, row 2 to (Color[1] + ((Name of Player 1 (Red)) + ColorEndTag))
                Multiboard - Set the text for Multiboard item in column 1, row 3 to (Color[2] + ((Name of Player 2 (Blue)) + ColorEndTag))
                Multiboard - Set the text for Multiboard item in column 1, row 4 to (Color[3] + ((Name of Player 3 (Teal)) + ColorEndTag))
                -------- --------------------- --------
 

BornANoob[MR]

Member
Reaction score
21
Every 1 second of game time
Set Timer = (Timer - 1)
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Timer))

EDIT: Timer is a variable with an inital value of whatever you want the total time to be
 

SaintMorose

New Member
Reaction score
26
If you need it to expire I would suggest doing what BornANoob[MR] says and then creating a different timer in the backgroud ith no display or window etc.
 
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