Timer-Dialog Issues..

SineCosine

I'm still looking for my Tangent
Reaction score
77
I need to create a timer dialog..
But for some reason, nothing shows =/

JASS:

if LevelTimer == null then
                call BJDebugMsg("Error")
            endif
            set TimerWindow = CreateTimerDialog(LevelTimer)
            call TimerStart(LevelTimer, TimePerLevel, false, function WhoPlaying)
            call TimerDialogSetTitle(TimerWindow, "Level " + I2S(CurrentLevel) + " Begins In: ")
            call TimerDialogDisplay(TimerWindow, true)


I already created my timer "LevelTimer" on Map Initialization, so..
It does not display 'Error'

But the window won't show.
When the 'TimerPerLevel' is up, the monsters spawn and all..
But the window never shows xD

Help?
 

Prozix

New Member
Reaction score
7
Maybe.. just maybe you are trying to create the dialog while the map is initializing. Waiting 0.01 second or so before creating the dialog might solve your problem.
 
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