- Joined
- Jun 16, 2008
- Messages
- 1,936
why doesnt this trigger work? oO
-
revive
-

Events
-


unit - A unit dies
-
-

Bedingungen
-


(DyingUnit is a Hero) equal to True
-
-

Aktionen
-


Set DyingUnit = (Dying unit)
-


Set TempLoc00 = (Position of DyingUnit)
-


game - Display to (All allies of (Owner of DyingUnit)) the text: (((Name of DyingUnit) + will be revived in ) + ((String(((Level of DyingUnit) x 3))) + seconds.))
-


Wait (3.00 x (Real((Level of DyingUnit)))) seconds
-


If (((Owner of DyingUnit) is in (All allies of player 6 (Orange))) equal to True) then do (Held - Instantly revive DyingUnit at (Center of HeroSpawnAllianz <gen>), showing revival graphics) else do (Do nothing)
-


If (((Owner of DyingUnit) is in (All allies of player 12 (brown))) equal to True) then do (Held - Instantly revive DyingUnit at (Center of HeroSpawnHorde <gen>), showing revival graphics) else do (Do nothing)
-


camera - Pan camera for (Owner of DyingUnit) to TempLoc00 over 2.00 seconds
-


Custom script: call RemoveLocation(udg_TempLoc00)
-


Custom script: set udg_DyingUnit = null
-
-




