BlzSetHeroProperName

Parameters
whichUnit unit
heroProperName string
comment

Change individual hero's proper name at runtime. Applies immediately.

A "proper name" is one of the multiple names a hero can get at random. It's the big name displayed above the experience bar.

note

See: GetHeroProperName, BlzSetUnitName, GetUnitName, GetDestructableName, GetItemName, GetObjectName.

patch

1.29.2.9231

Source
common.j (suggest an edit or discuss on Github)
return type
nothing
Source code
native BlzSetHeroProperName                        takes unit whichUnit, string heroProperName returns nothing