Hero revival item

Erkki2

New Member
Reaction score
0
I want to make an item that revives any hero it's used on. Here's my problem: How to target a dead hero?
 

HL.Clockwork

New Member
Reaction score
5
use Ankh ?

else u could drop an item upon death and save last carrier.

It is not possible to detect a dead unit. This stuff is very complicated, try search function..
 

istar

New Member
Reaction score
31
how about making a trigger to mark the spot a hero died
then cast the item ability on the spot?
make a hero-ghost dummy unit on its spot, which 'dissipate' after awhile
 

Erkki2

New Member
Reaction score
0
I don't know if that would work since player can have many heroes... And by the way, if it makes things any easier, it's a single player map.
 

CaptDeath

New Member
Reaction score
103
adjust a creep respawn trigger to do it like the conditions would be
owner of (dying unit) = Player 1
(dying unit) = Hero
 

Razed

New Member
Reaction score
44
Change a Hero's Combat - Death Type to Can raise, Does not decay. In that way the Hero's corpse will remain.

If you create an AoE-like item spell and use a trigger like;

Code:
Revive You!!
    Events
        Unit - A unit Begins casting an ability
    Conditions
        ((Target unit of ability being cast) is A Hero) Equal to True
    Actions
        Set TempPoint = (Position of (Casting unit))
        Hero - Instantly revive (Target unit of ability being cast) at TempPoint, Show revival graphics
        Custom script:   call RemoveLocation(udg_TempPoint)

EDIT; you could base the spell of Dispel Magic.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top