-
Notifications
You must be signed in to change notification settings - Fork 40
DT_DOTA_BaseNPC
grschafer edited this page Oct 19, 2013
·
9 revisions
m_iCurrentLevel
- The entity's level
m_nUnitState
- The entity's state. The following values are positions to check against (See _bittest: http://msdn.microsoft.com/en-us/library/h65k4tze%28v=vs.90%29.aspx)
- 0 - Rooted
- 1 - Soft Disarmed
- 2 - Hard Disarmed
- 3 - Attack Immune
- 4 - Silenced
- 5 - Muted
- 6 - Stunned
- 7 - Hexed
- 8 - Invisible
- 9 - Invulnerable
- 10 - Magic Immune
- 11 -
- 12 - Nightmared
- 13 - Blocked Disabled
- 14 - Evade Disabled
- 15 - Unselectable
- 16 -
- 17 - Specially Deniable
- 18 - Frozen
- 19 - Command Restricted
- 20 -
- 21 - Not On Minimap For Enemies
- 22 - Low Attack Priority
- 23 - No Health Bar
- 24 - Has Flying Vision (? - Not Sure)
- 25 - No Unit Collision
- 26 - No Team MoveTo
- 27 - No Team Select
- 28 - Passives Disabled
- 29 - Dominated
- 30 - Blind
- 31 - Out Of Game
- 32 -
m_hReplicatingOtherHeroModel
- The ehandle for base entity that illusions are replicating, or 2**21-1 for non-illusions.
m_iUnitNameIndex
- The index into the VPK HeroID. See Hero Names and IDs
m_lifeState
- The entity's life state.
- 0 - Alive
- 1 - Dying (playing animation or falling off ledge)
- 2 - Dead
- 3 - Respawnable
- 4 - Discard body
- You shouldn't encounter 3 or 4.
m_iHealth
- The entity's HP
m_iMaxHealth
- The entity's max HP
m_iHealthThinkRegen
- The entity's HP regen per second
m_iMana
- The entity's mana
m_iMaxMana
- The entity's max mana
m_iManaThinkRegen
- The entity's mana regen per second
m_bIsAncient
- 1 if unit is ancient-type (Roshan, couriers, ancient neutral creeps)
- 0 otherwise