Skip to content

DT_DOTA_BaseNPC_Hero

Laurie Clark-Michalek edited this page Aug 24, 2013 · 6 revisions

Inherits from DT_DOTA_BaseNPC

m_iCurrentXP

  • The hero's current xp. See BaseNPC.level for level

m_hReplicatingOtherHeroModel

  • Will be -1/2**21-1 if the hero is an actual hero, but if they are an illusion, this will point to the hero or illusion that created them

m_iPlayerID

  • The index of the player that is controlling the hero in the PlayerResource arrays