• 🏆 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!

Game not detecting Expired Timer?

Status
Not open for further replies.
Level 7
Joined
Jul 1, 2008
Messages
1,025
Hi, I have a trigger that is set to fire when a specific timer expires, however the trigger is not firing for some reason even after the timer has expired. Can anyone help?

Here are my current triggers:

  • Camera and Startup Copy
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Countdown Timer - Start (Last started timer) as a One-shot timer that will expire in 30.00 seconds
      • Set UltiTimer = (Last started timer)
      • Countdown Timer - Create a timer window for UltiTimer with title Time Left:
      • Countdown Timer - Show (Last created timer window)
  • Timer Expires Copy
    • Events
      • Time - UltiTimer expires
    • Conditions
    • Actions
      • Sound - Play QuestCompleted <gen>
 
Level 16
Joined
May 1, 2008
Messages
1,605
There is no "Last started timer" thus you are probably starting "null".

Try starting UltiTimer instead. GUI should have already initialized the variable with a timer object at map initialization.

There is but he/she just do it the wrong way:

  • Test
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Countdown Timer - Start TimerVariable as a One-shot timer that will expire in 2.00 seconds
      • Set TimerVariable = (Last started timer)
 
Status
Not open for further replies.
Top