GetHeroId

comment

Returns the ID of the leveled up hero, so it can be used in the heroes levels code function (probably SetHeroLevels).

patch

1.00

Source
common.ai
return type
integer
Source code
native GetHeroId            takes nothing                               returns integer