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

Error with destroying timer window.

Status
Not open for further replies.
Level 3
Joined
Aug 10, 2012
Messages
32
On end of my timer must go creeps and destroying timer window, creeps spawning and attack my base, but timer window not.
 

Attachments

  • 20120813-171445.jpg
    20120813-171445.jpg
    33.1 KB · Views: 202
You should better create another trigger like this:

  • Map Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Wait 0.01 seconds
      • Countdown Timer - Start YourTimer as a One-shot timer that will expire in 60.00 seconds
      • Countdown Timer - Create a timer window for (Last started timer) with title Your Title


  • Timer Expires
    • Events
      • Time - YourTimer expires
    • Conditions
    • Actions
      • Countdown Timer - Destroy (Last created timer window)
      • Player - Set Player 1 (Red) Current gold to 1000
      • Player - Set Player 1 (Red) Current lumber to 1000
      • -------- Whatever actions you want --------
 
Big thanks! I'll correct it, but gold and wood must be apart the timer, and necessarily in map init.
 
Status
Not open for further replies.
Back
Top