ReviveHero
- Parameters
-
whichHero unit
Target dead hero
x real
X map coordinate
y real
Y map coordinate
doEyecandy boolean
True to revive with revival special effects, false without. Special effects include: sound, visual effect.
- comment
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.)
- note
See:
ReviveHeroLoc
- return type
boolean
- Source code
native ReviveHero takes unit whichHero, real x, real y, boolean doEyecandy returns boolean
- Source
- unit.j
- wc3modding.com
- ReviveHero