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

Countdown Timer Reset Bug

Status
Not open for further replies.
Level 6
Joined
Mar 6, 2010
Messages
116
There is a bug on my map,The Grand Battle.When a hero dies,countdown timer works correctly.But if one more hero dies before the other one respawns,timer resets.Can someone help me?These are triggers :

  • Revive System
    • Events
      • Unit - A unit Dies
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • ((Dying unit) is A Hero) Equal to True
          • (Owner of (Dying unit)) Not equal to Neutral Hostile
    • Actions
      • Player - Add ((Hero level of (Dying unit)) x -50) to (Owner of (Dying unit)) Current gold
      • Player - Add ((Hero level of (Dying unit)) x 50) to (Owner of (Killing unit)) Current gold
      • Game - Display to (All players) the text: ((Name of (Owner of (Dying unit))) + ( |c00cc0000has been killed by|r + (Name of (Owner of (Killing unit)))))
      • Countdown Timer - Start Revive as a One-shot timer that will expire in (5.00 x (Real((Hero level of (Dying unit))))) seconds
      • Countdown Timer - Create a timer window for Revive with title Hero will respawn i...
      • Player Group - Pick every player in (All players) and do (Countdown Timer - Hide (Last created timer window))
      • Countdown Timer - Show (Last created timer window) for (Owner of (Dying unit))
      • Wait (5.00 x (Real((Hero level of (Dying unit))))) seconds
      • Hero - Instantly revive (Dying unit) at ((Owner of (Dying unit)) start location), Show revival graphics
  • Revive 2
    • Events
      • Time - Revive expires
    • Conditions
    • Actions
      • Countdown Timer - Destroy (Last created timer window)
 
Status
Not open for further replies.
Top