• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Countdown timer shit.

Status
Not open for further replies.
Level 27
Joined
Sep 24, 2006
Messages
4,979
Why won't this work, these countdown timers don't make sense to me...

  • DuelTimer1Start
    • Events
    • Conditions
    • Actions
      • Countdown Timer - Create a timer window for (Last started timer) with title Next Duel
      • Countdown Timer - Start (Last started timer) as a One-shot timer that will expire in 30.00 seconds
      • Set DuelTimer[1] = (Last started timer)
      • Countdown Timer - Show (Last created timer window)
  • RunChoosDuelists
    • Events
      • Time - DuelTimer[1] expires
    • Conditions
    • Actions
      • Countdown Timer - Destroy (Last created timer window)
      • Trigger - Run ChooseDuelists <gen> (ignoring conditions)
Btw the first trigger is run by another trigger so don't worry.
 
Level 18
Joined
Feb 28, 2009
Messages
1,970
You must create variable "Timer" which is Timer and Timer Window which is timer window, and then first put
  • Countdown Timer - Start (Timer) as a One-shot timer that will expire in 30.00 seconds
  • Set DuelTimer[1] = (Last started timer)
  • Countdown Timer - Create a timer window for (Last started timer) with title Next Duel
  • Set DuelTimerWindow[1] = (Last started timer window)
  • Countdown Timer - Show (DuelTimerWindow[1])
  • RunChoosDuelists
  • Events
  • Time - DuelTimer[1] expires
  • Conditions
  • Actions
  • Countdown Timer - Destroy (DuelTimeWindow[1])
  • Trigger - Run ChooseDuelists <gen> (ignoring conditions)
 
Level 27
Joined
Sep 24, 2006
Messages
4,979
Okay will try that now.

EDIT : Man, it have the feeling it doesn't react to the event :s

  • RunChoosDuelists
    • Events
      • Time - DuelTimer[1] expires
    • Conditions
    • Actions
      • Countdown Timer - Destroy DuelTimerWindow[1]
      • Trigger - Run ChooseDuelists <gen> (ignoring conditions)
 
Status
Not open for further replies.
Top