- Joined
- Apr 27, 2014
- Messages
- 115
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
-
Se - Condizioni
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Eventi
-
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
-
Se - Condizioni
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Giro - Azioni
-
Gruppo di unitÃ* - Pick every unit in RevivableHeroes and do (Actions)
-
Eventi