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

[Trigger] Why doesn't work?

Status
Not open for further replies.
Level 5
Joined
Apr 27, 2014
Messages
115
Sorry for the double thread, I made the same request in the World Editor Help Zone... but maybe here is more correct (forgive my english)

In the tutorial of my project I can not resurrect the heroes automatically, I took the trigger from a DOTA map but I think I deleted something by mistake... at first it worked, now no longer works

  • Revive Heroes
    • Eventi
      • Unit - A unit dies
    • Condizioni
      • ((Dying unit) is a Hero) Uguale a TRUE
      • (Owner of (Dying unit)) Uguale a Giocatore (Rosso)
    • Azioni
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • Se - Condizioni
          • ((Dying unit) is in SuperHeroes) Uguale a TRUE
        • Allora - Azioni
          • Gruppo di unitÃ* - Add (Dying unit) to RevivableHeroes
          • Conto alla rovescia - Start ReviveTimers[1] as a Una volta timer that will expire in 3.00 seconds
        • Altrimenti - Azioni
  • Revive SuperHeroes Timer
    • Eventi
      • Tempo - ReviveTimers[1] expires
    • Condizioni
    • Azioni
      • Gruppo di unitÃ* - Pick every unit in RevivableHeroes and do (Actions)
        • Giro - Azioni
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • Se - Condizioni
              • (Nick Fury 0158 <gen> is alive) Uguale a TRUE
            • Allora - Azioni
              • Set HeroCentre[1] = (Center of Startzone1 <gen>)
              • Eroe - Instantly revive (Picked unit) at HeroCentre[1], Mostra revival graphics
              • UnitÃ* - Move Nick Fury 0158 <gen> instantly to HeroCentre[1]
              • Wait 3.00 seconds
              • Custom script: call RemoveLocation(udg_HeroCentre[1])
            • Altrimenti - Azioni
Can you tell me why?
 
Status
Not open for further replies.
Top