FIXED Revive spell
Ok i kinda h8 starting a new triger until i get some help...
i got a spell revive ( thunder clap based) that revived last died hero
should just make like this
/
Ok i kinda h8 starting a new triger until i get some help...
i got a spell revive ( thunder clap based) that revived last died hero
should just make like this
/
-
Untitled Trigger 001
-

Events
-


Unit - A unit Dies
-
-

Conditions
-


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


((Owner of (Dying unit)) controller) Equal to User
-
-

Actions
-


Set Died_hero_unit = (Dying unit)
-


Set Point_of_die_unit = (Position of Died_hero_unit)
-


Do nothing
-


Custom script: call point_remove(udg_Point_of_die_unit)
-
-
-
asd
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Resurrection
-
-

Actions
-


Set Resurection_unit = (Triggering unit)
-


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



If - Conditions
-




(Distance between (Position of Resurection_unit) and (Position of Died_hero_unit)) Less than or equal to 250.00
-
-



Then - Actions
-




Wait 1.00 seconds
-




Hero - Instantly revive Died_hero_unit at Point_of_die_unit, Hide revival graphics
-
-



Else - Actions
-




Do nothing
-
-
-
-
Last edited:




