Timer

Dest

New Member
Reaction score
26
I want to create a timer in the multiboard, like a game time if you know what I mean.

Like, when one minute passes, the multiboard says: Game Time: 01:00 , like that. The only problem I don't know how to do this. Help me? :confused:
 

Scary Nachos

Castro flashing Gang Signs!
Reaction score
45
This is in my multiboard, its based off of IPeez multiboard clock
Trigger:
  • Clock
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Real(Clock_Hours)) Greater than 22.00
          • (Real(Clock_Minutes)) Greater than 59.00
          • (Real(Clock_Seconds)) Greater than 59.00
        • Then - Actions
          • Set Clock_Hours = 0
          • Set Clock_Minutes = 0
          • Set Clock_Seconds = 0
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Real(Clock_Minutes)) Greater than 59.00
              • (Real(Clock_Seconds)) Greater than 59.00
            • Then - Actions
              • Set Clock_Hours = (Clock_Hours + 1)
              • Set Clock_Minutes = 0
              • Set Clock_Seconds = 0
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Real(Clock_Seconds)) Greater than 59.00
                • Then - Actions
                  • Set Clock_Minutes = (Clock_Minutes + 1)
                  • Set Clock_Seconds = 0
                • Else - Actions
                  • Set Clock_Seconds = (Clock_Seconds + 1)
      • Multiboard - Set the text for multiboard_flag item in column 2, row Multiboard_Clock to (String(Clock_Hours))
      • Multiboard - Set the text for multiboard_flag item in column 3, row Multiboard_Clock to (String(Clock_Minutes))
      • Multiboard - Set the text for multiboard_flag item in column 4, row Multiboard_Clock to (String(Clock_Seconds))


Just change the settings
 

LordXavier

TH.net Regular
Reaction score
16
Here's an unfinished map of mine. Take the multiboard if you like. Here's images:
3707519027_8c28a35f88.jpg

3707518991_ea38a808f3.jpg


I haven't updated the pictures since I last updated multiboard. Under deaths, it will NOT say Alive. It shows a number. The timer adds a 0 before any number in it if it's less than 9. Change the "Player Kills Update" and "Player Deaths Update" conditions, they will only go if it's a hero killing a hero. Have fun, please only take the multiboard.
 

Attachments

  • Titan Fight v1.0 Edit.w3x
    271.8 KB · Views: 81

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Trigger:
  • Timer
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set seconds = (seconds + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • seconds Greater than 59
        • Then - Actions
          • Set seconds = 0
          • Set minutes = (minutes + 1)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • minutes Greater than 59
            • Then - Actions
              • Set minutes = 0
              • Set hours = (hours + 1)
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • seconds Less than 10
        • Then - Actions
          • Set tmpString = (0 + (String(seconds)))
        • Else - Actions
          • Set tmpString = (String(seconds))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • minutes Less than 10
        • Then - Actions
          • Set extraString = (0 + (String(minutes)))
        • Else - Actions
          • Set extraString = (String(minutes))
      • Multiboard - Set the text for ... item in column ..., row ... to (0 + ((String(hours)) + <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> + (extraString + <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> + tmpString)))))


Here's my version of the timer, display style 00:00:00 and counting up.
 

Scary Nachos

Castro flashing Gang Signs!
Reaction score
45
Trigger:
  • Timer
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set seconds = (seconds + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • seconds Greater than 59
        • Then - Actions
          • Set seconds = 0
          • Set minutes = (minutes + 1)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • minutes Greater than 59
            • Then - Actions
              • Set minutes = 0
              • Set hours = (hours + 1)
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • seconds Less than 10
        • Then - Actions
          • Set tmpString = (0 + (String(seconds)))
        • Else - Actions
          • Set tmpString = (String(seconds))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • minutes Less than 10
        • Then - Actions
          • Set extraString = (0 + (String(minutes)))
        • Else - Actions
          • Set extraString = (String(minutes))
      • Multiboard - Set the text for ... item in column ..., row ... to (0 + ((String(hours)) + <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> + (extraString + <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> + tmpString)))))


Here's my version of the timer, display style 00:00:00 and counting up.

Oh my... way better :p
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top