GetHeroProperName

Parameters
whichHero unit
comment

Returns the hero's "Proper Name", which is the name displayed above the level bar.

note

Will return null on non-hero units or null.

patch

1.15

Source
common.j
return type
string
Source code
native          GetHeroProperName   takes unit whichHero returns string