Can somsone explain timer pls?

darkreapers

New Member
Reaction score
6
well i am making my first countdown timer, and i am abit confused as to, hide and destory function. Which one should i pick?
i use the timer every wave to show when creeps would come
Trigger:
  • Next wave timer
    • Events
      • Player - Player 12 (Brown)'s Food used becomes Less than 1.00
    • Conditions
    • Actions
      • Countdown Timer - Create a timer window for nextwave with title Next Wave
      • Countdown Timer - Start nextwave as a One-shot timer that will expire in 10.00 seconds
      • Countdown Timer - Show (Last created timer window)
      • Wait 10.00 seconds
      • Countdown Timer - Hide (Last created timer window)


as you see in the last line i can choose between hide or destory, i am just not sure which one would be more effective =(
 

WolfieeifloW

WEHZ Helper
Reaction score
372
I'd probably destroy it.
And don't do a wait.
Do this:
Trigger:
  • Next Wave
    • Events
      • Player - Player 12 (Brown)'s Food used becomes Less than 1.00
    • Conditions
    • Actions
      • Countdown Timer - Start nextTimer as a One-shot timer that will expire in 10.00 seconds
      • Countdown Timer - Create a timer window for nextTimer with title Next wave
      • Set nextWindow = (Last created timer window)
      • Countdown Timer - Show nextWindow

Trigger:
  • Next Expire
    • Events
      • Time - nextTimer expires
    • Conditions
    • Actions
      • Countdown Timer - Destroy nextWindow
 

darkreapers

New Member
Reaction score
6
I'd probably destroy it.
And don't do a wait.
Do this:
Trigger:
  • Next Wave
    • Events
      • Player - Player 12 (Brown)'s Food used becomes Less than 1.00
    • Conditions
    • Actions
      • Countdown Timer - Start nextTimer as a One-shot timer that will expire in 10.00 seconds
      • Countdown Timer - Create a timer window for nextTimer with title Next wave
      • Set nextWindow = (Last created timer window)
      • Countdown Timer - Show nextWindow

Trigger:
  • Next Expire
    • Events
      • Time - nextTimer expires
    • Conditions
    • Actions
      • Countdown Timer - Destroy nextWindow

thx! + rep

err says i gotta spread my reps around first lol
 

darkreapers

New Member
Reaction score
6
umm another problem, well this trigger would work if i do wait

like this
Trigger:
  • Brown Food 0
    • Events
      • Player - Player 12 (Brown)'s Food used becomes Less than 1.00
    • Conditions
      • start Equal to True
    • Actions
      • Wait 10.00 seconds
      • Set brownfood = 1



but if i try to get rid of the wait, it wont spawn next wave anymore.

Trigger:
  • Brown Food 0
    • Events
      • Player - Player 12 (Brown)'s Food used becomes Less than 1.00
    • Conditions
      • start Equal to True
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Elapsed time for wavetimer) Greater than or equal to 15.00
        • Then - Actions
          • Set brownfood = 1
        • Else - Actions
 
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