Countdown Timer

bananaHUNT

You can change this now in User CP
Reaction score
55
I tried to make a simple timer that counts down from 180 seconds, whats wrong with it?

Code:
Timer
    Events
        Map initialization
    Conditions
    Actions
        Countdown Timer - Create a timer window for StartTimer with title Attack of Felwood E...
        Set StartTimerWindow = (Last created timer window)
        Countdown Timer - Show StartTimerWindow
        Countdown Timer - Start StartTimer as a One-shot timer that will expire in 180.00 seconds
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> what's wrong with it?

The timer should be started before the window is created (optional).
The event should be "time - elapsed time is 0.0 seconds" or later (must).
 

bananaHUNT

You can change this now in User CP
Reaction score
55
Thanks it works now, but why can't i use Map Initialization as an Event?
 

Knocksious

Sweet, I got 2 little green bars!
Reaction score
46
I'm not sure on the exact technical reasons WHY, but just know that map init doesn't work for a lot of things, I usually do elapsed time is .01 to be safe
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Map init happens somewhere in the loading screen... that's way too early to show anything on screen.


Things not to try on map init:
Multiboards, leaderboards, dialogs, timer windows (<- note the "window", just a timer is fine)

Anything else is ok.
And, actually, you do want all the init lag in the loading screen, not when the game has already started.
 

Knocksious

Sweet, I got 2 little green bars!
Reaction score
46
haha, I guess then, that that is a question I should have asked a long time ago. Fair enough, it's relatively easy to change
 
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