- Joined
- Aug 15, 2007
- Messages
- 145
Iv had this problem for a while now, while playing a game the auto revive stops working and u have to buy back manually, but when this happens its often to expensive to buy back and the game ends really quickly because ppl cant revive their heros, Pls help i changed nothing in my revive triggers it just stops working in some games.
-
Revive Hero Copy
-

Events
-


Unit - A unit Dies
-
-

Conditions
-


((Dying unit) is A Hero) Equal to True
-
-

Actions
-


Unit Group - Add (Dying unit) to RevivableHeroes
-


Set TempReal = (((Real((Hero level of (Dying unit)))) x Hero_Revive_Time_Factor) + 5.00)
-


Countdown Timer - Start ReviveTimers[(Player number of (Owner of (Dying unit)))] as a One-shot timer that will expire in TempReal seconds
-
-
-
Revive Hero Timer
-

Events
-


Time - ReviveTimers[2] expires
-


Time - ReviveTimers[3] expires
-


Time - ReviveTimers[4] expires
-


Time - ReviveTimers[5] expires
-


Time - ReviveTimers[6] expires
-


Time - ReviveTimers[8] expires
-


Time - ReviveTimers[9] expires
-


Time - ReviveTimers[10] expires
-


Time - ReviveTimers[11] expires
-


Time - ReviveTimers[12] expires
-
-

Conditions
-

Actions
-


Set HeroCentreXmen = (Center of HeroCreationXmen <gen>)
-


Set HeroCentreBH = (Center of HeroCreationBh <gen>)
-


Unit Group - Pick every unit in RevivableHeroes and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Remaining time for ReviveTimers[(Player number of (Owner of (Picked unit)))]) Less than 1.00
-
-





Then - Actions
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








((Owner of (Picked unit)) is in PlayersXmen) Equal to True
-
-







Then - Actions
-








Hero - Instantly revive (Picked unit) at HeroCentreXmen, Show revival graphics
-
-







Else - Actions
-








Hero - Instantly revive (Picked unit) at HeroCentreBH, Show revival graphics
-
-
-
-





Else - Actions
-






Do nothing
-
-
-
-
-


Wait 2.00 seconds
-


Custom script: call RemoveLocation(udg_HeroCentreXmen)
-


Custom script: call RemoveLocation(udg_HeroCentreBH)
-
-
-
Revive Hero Tavern
-

Events
-


Unit - A unit Finishes reviving
-
-

Conditions
-


((Reviving Hero) is in RevivableHeroes) Equal to True
-
-

Actions
-


Unit Group - Remove (Reviving Hero) from RevivableHeroes
-


Set ReviveHeroPos = (Position of (Reviving Hero))
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




Multiboard_ShowDeaths Equal to True
-
-



Then - Actions
-




Multiboard - Set the text for (Last created multiboard) item in column 2, row Multiboard_Spots[(Player number of (Owner of (Reviving Hero)))] to
-
-



Else - Actions
-




Countdown Timer - Destroy RevivableTimersWindows[(Player number of (Owner of (Reviving Hero)))]
-
-
-


Camera - Pan camera for (Owner of (Reviving Hero)) to ReviveHeroPos over 0.05 seconds
-


Selection - Select (Reviving Hero) for (Owner of (Reviving Hero))
-


Custom script: call RemoveLocation(udg_ReviveHeroPos)
-
-
