Target dead hero
X map coordinate
Y map coordinate
True to revive with revival special effects, false without. Special effects include: sound, visual effect.
Revives a dead hero at target coordinates, with or without special effects.
Returns true if hero was dead and revived. Returns false otherwise (hero alive, unit isn't a hero/doesn't exist etc.)
- return type
- Source code
native ReviveHero takes unit whichHero, real x, real y, boolean doEyecandy returns boolean