- Joined
- Jun 16, 2008
- Messages
- 1,936
Hi the Hive Community
I have a problem with the revive system i use
it works when only one hero dies but the variable might be overwritten when a seconds hero dies while the other wasnt reborn yet
i didnt test it out but it is obvious that it will happen
what i need is an effective hero revive system in GUI wich is MUI
here is my system so far, plz help me:
i w8 for a quick answer,
palaslayer
I have a problem with the revive system i use
it works when only one hero dies but the variable might be overwritten when a seconds hero dies while the other wasnt reborn yet
i didnt test it out but it is obvious that it will happen
what i need is an effective hero revive system in GUI wich is MUI
here is my system so far, plz help me:
-
herorevive
-

Events
-


Unit - A unit dies
-
-

Conditions
-


((Triggering unit) is a hero) equal to True
-
-

Actions
-


Set TempLoc01 = (Center of gg_rct_HeroSpawnLeft)
-


Set TempLoc02 = (Center of gg_rct_HeroSpawnRight)
-


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


Wait (3.00 x (Real((Level of (Triggering unit))))) seconds
-


If (((Owner of (Triggering unit)) is in (All allies of player 6 (Orange))) equal to True) then do (hero - Instantly revive (Triggering unit) at TempLoc01, showing revival graphics) else do (Do nothing)
-


If (((Owner of (Triggering unit)) is in (All allies of player 12 (Braun))) equal to True) then do (hero - Instantly revive (Triggering unit) at TempLoc02, Zeigen revival graphics) else do (Do nothing)
-


Set TempLoc00 = (Position of (Triggering unit))
-


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


Custom script: call RemoveLocation(udg_TempLoc00)
-


Custom script: call RemoveLocation(udg_TempLoc01)
-


Custom script: call RemoveLocation(udg_TempLoc02)
-
-
i w8 for a quick answer,
palaslayer






