• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Game not detecting Expired Timer?

Status
Not open for further replies.
Level 7
Joined
Jul 1, 2008
Messages
1,023
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>
 
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.
Back
Top