ReviveHeroLoc

Parameters
whichHero unit
loc location

Location on map

doEyecandy boolean

True to revive with revival special effects, false without. Special effects include: sound, visual effect.

comment

Revives a dead hero at target location, 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: ReviveHero

return type
boolean
Source code
native ReviveHeroLoc takes unit whichHero, location loc, boolean doEyecandy returns boolean
Source
unit.j
wc3modding.com
ReviveHeroLoc