• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Game time(clock)

Status
Not open for further replies.
Level 10
Joined
Feb 20, 2008
Messages
448
my goal : adding a Game time clock into a Multiboard

but its doesn't work well lol, i tryed to search some old topics but i found nothing interesting in GUI all i found was Vjass or jass


  • Multiboard - Set the text for multiBoardArray[1] item in column 2, row 1 to (String((Elapsed time for GameTime)))
 
Have you started "GameTime" on Eplased Game time: 0.00 and added Time peridoic timer for the multiboard to update? -.,-

what do u mean by added time periodic timer ? can u show me an exemple ? like this ?

  • Update Game Time and Ninja level
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Countdown Timer - Start GameTime as a Repeating timer that will expire in 1.00 seconds
      • Multiboard - Set the text for multiBoardArray[1] item in column 2, row 1 to (String((Elapsed time for GameTime)))
      • Multiboard - Set the text for multiBoardArray[2] item in column 2, row 1 to (String((Elapsed time for GameTime)))
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • Multiboard - Set the text for multiBoardArray[1] item in column 2, row ((Integer A) + 5) to (String(((Integer(RealTest1_Copy[(Integer A)])) + (Integer(.00X)))))
          • Multiboard - Set the text for multiBoardArray[2] item in column 2, row ((Integer A) + 5) to (String(((Integer(RealTest1_Copy[(Integer A)])) + (Integer(.00X)))))
      • For each (Integer B) from 6 to 11, do (Actions)
        • Loop - Actions
          • Multiboard - Set the text for multiBoardArray[1] item in column 2, row ((Integer B) + 7) to (String(((Integer(RealTest1_Copy[(Integer B)])) + (Integer(.00X)))))
          • Multiboard - Set the text for multiBoardArray[2] item in column 2, row ((Integer B) + 7) to (String(((Integer(RealTest1_Copy[(Integer B)])) + (Integer(.00X)))))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • BooBzTime Equal to True
        • Then - Actions
          • Set integerGameTimeElapsed = (integerGameTimeElapsed - 1)
        • Else - Actions
 
Status
Not open for further replies.
Back
Top