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

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: 162
Level 5
Joined
Jan 5, 2012
Messages
116
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 --------
 
Level 3
Joined
Aug 10, 2012
Messages
32
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.
Top