Difference between revisions of "Dota 2 Workshop Tools/Scripting/API"

From Valve Developer Community
Jump to: navigation, search
(Dota_Lebot push: Updated Page)
(Dota_Lebot push: Updated Page)
Line 2,333: Line 2,333:
 
|-
 
|-
 
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_PlayerResource.IncrementAssists | IncrementAssists]]
 
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_PlayerResource.IncrementAssists | IncrementAssists]]
| <code>void IncrementAssists(int playerID) </code>
+
| <code>void IncrementAssists(int playerID, int iVictimID) </code>
 
| No Description Set
 
| No Description Set
 
|-
 
|-
Line 3,849: Line 3,849:
 
|-
 
|-
 
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_BaseNPC_Hero.IncrementAssists | IncrementAssists]]
 
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_BaseNPC_Hero.IncrementAssists | IncrementAssists]]
| <code>void IncrementAssists() </code>
+
| <code>void IncrementAssists(int iKillerID) </code>
 
| Value is stored in PlayerResource.
 
| Value is stored in PlayerResource.
 
|-
 
|-
Line 4,121: Line 4,121:
 
| <code>void ClearExecuteOrderFilter() </code>
 
| <code>void ClearExecuteOrderFilter() </code>
 
| Clear the script filter that controls when a unit picks up an item.
 
| Clear the script filter that controls when a unit picks up an item.
 +
|-
 +
| [[Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.ClearModifierGainedFilter | ClearModifierGainedFilter]]
 +
| <code>void ClearModifierGainedFilter() </code>
 +
| Clear the script filter that controls the modifier filter.
 
|-
 
|-
 
| [[Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.ClearModifyExperienceFilter | ClearModifyExperienceFilter]]
 
| [[Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.ClearModifyExperienceFilter | ClearModifyExperienceFilter]]
Line 4,321: Line 4,325:
 
| <code>void SetMinimumAttackSpeed(int nMinSpeed) </code>
 
| <code>void SetMinimumAttackSpeed(int nMinSpeed) </code>
 
| Set the minimum attack speed for units.
 
| Set the minimum attack speed for units.
 +
|-
 +
| [[Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetModifierGainedFilter | SetModifierGainedFilter]]
 +
| <code>void SetModifierGainedFilter(handle hFunction, handle hContext) </code>
 +
| Set a filter function to control modifiers that are gained, return false to destroy modifier.
 
|-
 
|-
 
| [[Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetModifyExperienceFilter | SetModifyExperienceFilter]]
 
| [[Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetModifyExperienceFilter | SetModifyExperienceFilter]]
Line 6,422: Line 6,430:
  
  
=== Constants ===
+
=== CDOTA_Item_Lua ===
==== AbilityLearnResult_t ====
+
''No Description Set''
{| class="standard-table" style="width: 50%;"
+
 
! Name
+
''Global accessor variable:'' <code>Unknown</code>
! Value
+
{| class="standard-table" style="width: 100%;"
! Description
+
! Function
 +
! Signature
 +
! Description  
 
|-
 
|-
| ABILITY_CAN_BE_UPGRADED
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.CastFilterResult | CastFilterResult]]
| 0
+
| <code>int CastFilterResult() </code>
|  
+
| Determine whether an issued command with no target is valid.
 
|-
 
|-
| ABILITY_CANNOT_BE_UPGRADED_NOT_UPGRADABLE
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.CastFilterResultLocation | CastFilterResultLocation]]
| 1
+
| <code>int CastFilterResultLocation(Vector vLocation) </code>
|  
+
| (Vector vLocation) Determine whether an issued command on a location is valid.
 
|-
 
|-
| ABILITY_CANNOT_BE_UPGRADED_AT_MAX
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.CastFilterResultTarget | CastFilterResultTarget]]
| 2
+
| <code>int CastFilterResultTarget(handle hTarget) </code>
|  
+
| (HSCRIPT hTarget) Determine whether an issued command on a target is valid.
 
|-
 
|-
| ABILITY_CANNOT_BE_UPGRADED_REQUIRES_LEVEL
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.GetAssociatedPrimaryAbilities | GetAssociatedPrimaryAbilities]]
| 3
+
| <code>string GetAssociatedPrimaryAbilities() </code>
|  
+
| Returns abilities that are stolen simultaneously, or otherwise related in functionality.
 
|-
 
|-
| ABILITY_NOT_LEARNABLE
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.GetAssociatedSecondaryAbilities | GetAssociatedSecondaryAbilities]]
| 4
+
| <code>string GetAssociatedSecondaryAbilities() </code>
|  
+
| Returns other abilities that are stolen simultaneously, or otherwise related in functionality.  Generally hidden abilities.
|}
 
 
 
==== Attributes ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| DOTA_ATTRIBUTE_INVALID
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.GetBehavior | GetBehavior]]
| -1
+
| <code>int GetBehavior() </code>
|  
+
| Return cast behavior type of this ability.
 
|-
 
|-
| DOTA_ATTRIBUTE_STRENGTH
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.GetCastRange | GetCastRange]]
| 0
+
| <code>int GetCastRange(Vector vLocation, handle hTarget) </code>
|  
+
| Return cast range of this ability.
 +
|-
 +
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.GetChannelledManaCostPerSecond | GetChannelledManaCostPerSecond]]
 +
| <code>int GetChannelledManaCostPerSecond(int iLevel) </code>
 +
| Return mana cost at the given level per second while channeling (-1 is current).
 
|-
 
|-
| DOTA_ATTRIBUTE_AGILITY
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.GetChannelTime | GetChannelTime]]
| 1
+
| <code>float GetChannelTime() </code>
|  
+
| Return the channel time of this ability.
 
|-
 
|-
| DOTA_ATTRIBUTE_INTELLECT
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.GetConceptRecipientType | GetConceptRecipientType]]
| 2
+
| <code>int GetConceptRecipientType() </code>
|  
+
| Return who hears speech when this spell is cast.
 
|-
 
|-
| DOTA_ATTRIBUTE_MAX
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.GetCooldown | GetCooldown]]
| 3
+
| <code>float GetCooldown(int iLevel) </code>
|  
+
| Return cooldown of this ability.
|}
 
 
 
==== DAMAGE_TYPES ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| DAMAGE_TYPE_NONE
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.GetCustomCastError | GetCustomCastError]]
| 0
+
| <code>string GetCustomCastError() </code>
|  
+
| Return the error string of a failed command with no target.
 
|-
 
|-
| DAMAGE_TYPE_PHYSICAL
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.GetCustomCastErrorLocation | GetCustomCastErrorLocation]]
| 1
+
| <code>string GetCustomCastErrorLocation(Vector vLocation) </code>
|  
+
| (Vector vLocation) Return the error string of a failed command on a location.
 
|-
 
|-
| DAMAGE_TYPE_MAGICAL
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.GetCustomCastErrorTarget | GetCustomCastErrorTarget]]
| 2
+
| <code>string GetCustomCastErrorTarget(handle hTarget) </code>
|  
+
| (HSCRIPT hTarget) Return the error string of a failed command on a target.
 
|-
 
|-
| DAMAGE_TYPE_PURE
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.GetGoldCost | GetGoldCost]]
| 4
+
| <code>int GetGoldCost(int iLevel) </code>
|  
+
| Return gold cost at the given level (-1 is current).
 
|-
 
|-
| DAMAGE_TYPE_ALL
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.GetIntrinsicModifierName | GetIntrinsicModifierName]]
| 7
+
| <code>string GetIntrinsicModifierName() </code>
|  
+
| Returns the name of the modifier applied passively by this ability.
 
|-
 
|-
| DAMAGE_TYPE_HP_REMOVAL
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.GetManaCost | GetManaCost]]
| 8
+
| <code>int GetManaCost(int iLevel) </code>
|  
+
| Return mana cost at the given level (-1 is current).
|}
 
 
 
==== DOTAAbilitySpeakTrigger_t ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| DOTA_ABILITY_SPEAK_START_ACTION_PHASE
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.GetPlaybackRateOverride | GetPlaybackRateOverride]]
| 0
+
| <code>float GetPlaybackRateOverride() </code>
|  
+
| Return the animation rate of the cast animation.
 
|-
 
|-
| DOTA_ABILITY_SPEAK_CAST
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.IsHiddenAbilityCastable | IsHiddenAbilityCastable]]
| 1
+
| <code>bool IsHiddenAbilityCastable() </code>
|  
+
| Returns true if this ability can be used when not on the action panel.
|}
 
 
 
==== DOTADamageFlag_t ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| DOTA_DAMAGE_FLAG_NONE
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.IsHiddenWhenStolen | IsHiddenWhenStolen]]
| 0
+
| <code>bool IsHiddenWhenStolen() </code>
|  
+
| Returns true if this ability is hidden when stolen by Spell Steal.
 
|-
 
|-
| DOTA_DAMAGE_FLAG_IGNORES_MAGIC_ARMOR
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.IsRefreshable | IsRefreshable]]
| 1
+
| <code>bool IsRefreshable() </code>
|  
+
| Returns true if this ability is refreshed by Refresher Orb.
 
|-
 
|-
| DOTA_DAMAGE_FLAG_IGNORES_PHYSICAL_ARMOR
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.IsStealable | IsStealable]]
| 2
+
| <code>bool IsStealable() </code>
|  
+
| Returns true if this ability can be stolen by Spell Steal.
 
|-
 
|-
| DOTA_DAMAGE_FLAG_BYPASSES_INVULNERABILITY
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnAbilityPhaseInterrupted | OnAbilityPhaseInterrupted]]
| 4
+
| <code>void OnAbilityPhaseInterrupted() </code>
|  
+
| Cast time did not complete successfully.
 
|-
 
|-
| DOTA_DAMAGE_FLAG_BYPASSES_BLOCK
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnAbilityPhaseStart | OnAbilityPhaseStart]]
| 8
+
| <code>bool OnAbilityPhaseStart() </code>
|  
+
| Cast time begins (return true for successful cast).
 
|-
 
|-
| DOTA_DAMAGE_FLAG_REFLECTION
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnChannelFinish | OnChannelFinish]]
| 16
+
| <code>void OnChannelFinish(bool bInterrupted) </code>
|  
+
| (bool bInterrupted) Channel finished.
 
|-
 
|-
| DOTA_DAMAGE_FLAG_HPLOSS
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnChannelThink | OnChannelThink]]
| 32
+
| <code>void OnChannelThink(float flInterval) </code>
|  
+
| (float flInterval) Channeling is taking place.
 
|-
 
|-
| DOTA_DAMAGE_FLAG_NO_DIRECTOR_EVENT
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnHeroCalculateStatBonus | OnHeroCalculateStatBonus]]
| 64
+
| <code>void OnHeroCalculateStatBonus() </code>
|  
+
| Caster (hero only) gained a level, skilled an ability, or received a new stat bonus.
 
|-
 
|-
| DOTA_DAMAGE_FLAG_NON_LETHAL
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnHeroDiedNearby | OnHeroDiedNearby]]
| 128
+
| <code>void OnHeroDiedNearby(handle unit, handle attacker, handle table) </code>
|  
+
| A hero has died in the vicinity (ie Urn), takes table of params.
 
|-
 
|-
| DOTA_DAMAGE_FLAG_USE_COMBAT_PROFICIENCY
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnHeroLevelUp | OnHeroLevelUp]]
| 256
+
| <code>void OnHeroLevelUp() </code>
|  
+
| Caster gained a level.
 
|-
 
|-
| DOTA_DAMAGE_FLAG_NO_DAMAGE_MULTIPLIERS
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnInventoryContentsChanged | OnInventoryContentsChanged]]
| 512
+
| <code>void OnInventoryContentsChanged() </code>
|  
+
| Caster inventory changed.
|}
 
 
 
==== DOTAHUDVisibility_t ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| DOTA_HUD_VISIBILITY_TOP_TIMEOFDAY
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnItemEquipped | OnItemEquipped]]
| 0
+
| <code>void OnItemEquipped(handle hItem) </code>
|  
+
| ( HSCRIPT hItem ) Caster equipped item.
 
|-
 
|-
| DOTA_HUD_VISIBILITY_TOP_HEROES
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnOwnerDied | OnOwnerDied]]
| 1
+
| <code>void OnOwnerDied() </code>
|  
+
| Caster died.
 
|-
 
|-
| DOTA_HUD_VISIBILITY_TOP_SCOREBOARD
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnOwnerSpawned | OnOwnerSpawned]]
| 2
+
| <code>void OnOwnerSpawned() </code>
|  
+
| Caster respawned or spawned for the first time.
 
|-
 
|-
| DOTA_HUD_VISIBILITY_ACTION_PANEL
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnProjectileHit | OnProjectileHit]]
| 3
+
| <code>bool OnProjectileHit(handle hTarget, Vector vLocation) </code>
|  
+
| (HSCRIPT hTarget, Vector vLocation) Projectile has collided with a given target or reached its destination (target is invalid).
 
|-
 
|-
| DOTA_HUD_VISIBILITY_ACTION_MINIMAP
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnProjectileThink | OnProjectileThink]]
| 4
+
| <code>void OnProjectileThink(Vector vLocation) </code>
|  
+
| (Vector vLocation) Projectile is actively moving.
 
|-
 
|-
| DOTA_HUD_VISIBILITY_INVENTORY_PANEL
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnSpellStart | OnSpellStart]]
| 5
+
| <code>void OnSpellStart() </code>
|  
+
| Cast time finished, spell effects begin.
 
|-
 
|-
| DOTA_HUD_VISIBILITY_INVENTORY_SHOP
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnStolen | OnStolen]]
| 6
+
| <code>void OnStolen(handle hSourceAbility) </code>
|  
+
| ( HSCRIPT hAbility ) Special behavior when stolen by Spell Steal.
 
|-
 
|-
| DOTA_HUD_VISIBILITY_INVENTORY_ITEMS
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnToggle | OnToggle]]
| 7
+
| <code>void OnToggle() </code>
|  
+
| Ability is toggled on/off.
 
|-
 
|-
| DOTA_HUD_VISIBILITY_INVENTORY_QUICKBUY
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnUnStolen | OnUnStolen]]
| 8
+
| <code>void OnUnStolen() </code>
|  
+
| Special behavior when lost by Spell Steal.
 
|-
 
|-
| DOTA_HUD_VISIBILITY_INVENTORY_COURIER
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.OnUpgrade | OnUpgrade]]
| 9
+
| <code>void OnUpgrade() </code>
|  
+
| Ability gained a level.
 
|-
 
|-
| DOTA_HUD_VISIBILITY_INVENTORY_PROTECT
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.ProcsMagicStick | ProcsMagicStick]]
| 10
+
| <code>bool ProcsMagicStick() </code>
|  
+
| Returns true if this ability will generate magic stick charges for nearby enemies.
 
|-
 
|-
| DOTA_HUD_VISIBILITY_INVENTORY_GOLD
+
| [[Dota 2 Workshop Tools/Scripting/API/CDOTA_Item_Lua.SpeakTrigger | SpeakTrigger]]
| 11
+
| <code>int SpeakTrigger() </code>
|
+
| Return the type of speech used.
|-
 
| DOTA_HUD_VISIBILITY_SHOP_SUGGESTEDITEMS
 
| 12
 
|
 
|-
 
| DOTA_HUD_VISIBILITY_COUNT
 
| 13
 
|  
 
 
|}
 
|}
  
==== DOTAInventoryFlags_t ====
+
 
 +
=== Constants ===
 +
==== AbilityLearnResult_t ====
 
{| class="standard-table" style="width: 50%;"
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Name
Line 6,643: Line 6,616:
 
! Description
 
! Description
 
|-
 
|-
| DOTA_INVENTORY_ALLOW_NONE
+
| ABILITY_CAN_BE_UPGRADED
 
| 0
 
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_INVENTORY_ALLOW_MAIN
+
| ABILITY_CANNOT_BE_UPGRADED_NOT_UPGRADABLE
 
| 1
 
| 1
 
|  
 
|  
 
|-
 
|-
| DOTA_INVENTORY_ALLOW_STASH
+
| ABILITY_CANNOT_BE_UPGRADED_AT_MAX
 
| 2
 
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_INVENTORY_ALL_ACCESS
+
| ABILITY_CANNOT_BE_UPGRADED_REQUIRES_LEVEL
 
| 3
 
| 3
 
|  
 
|  
 
|-
 
|-
| DOTA_INVENTORY_ALLOW_DROP_ON_GROUND
+
| ABILITY_NOT_LEARNABLE
 
| 4
 
| 4
|
 
|-
 
| DOTA_INVENTORY_ALLOW_DROP_AT_FOUNTAIN
 
| 8
 
|
 
|-
 
| DOTA_INVENTORY_LIMIT_DROP_ON_GROUND
 
| 16
 
 
|  
 
|  
 
|}
 
|}
  
==== DOTALimits_t ====
+
==== Attributes ====
 
{| class="standard-table" style="width: 50%;"
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Name
Line 6,678: Line 6,643:
 
! Description
 
! Description
 
|-
 
|-
| DOTA_MAX_TEAM
+
| DOTA_ATTRIBUTE_INVALID
| 5
+
| -1
| Max number of players per team.
+
|
 +
|-
 +
| DOTA_ATTRIBUTE_STRENGTH
 +
| 0
 +
|  
 
|-
 
|-
| DOTA_MAX_PLAYER_TEAMS
+
| DOTA_ATTRIBUTE_AGILITY
| 10
+
| 1
| Max number of player teams supported.
+
|  
 
|-
 
|-
| DOTA_MAX_TEAM_PLAYERS
+
| DOTA_ATTRIBUTE_INTELLECT
| 10
+
| 2
| Max number of non-spectator players supported.
+
|  
 
|-
 
|-
| DOTA_MAX_PLAYERS
+
| DOTA_ATTRIBUTE_MAX
| 64
+
| 3
| Max number of players connected to the server including spectators.
+
|  
 
|}
 
|}
  
==== DOTAMinimapEvent_t ====
+
==== DAMAGE_TYPES ====
 
{| class="standard-table" style="width: 50%;"
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Name
Line 6,701: Line 6,670:
 
! Description
 
! Description
 
|-
 
|-
| DOTA_MINIMAP_EVENT_ANCIENT_UNDER_ATTACK
+
| DAMAGE_TYPE_NONE
| 2
+
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_MINIMAP_EVENT_BASE_UNDER_ATTACK
+
| DAMAGE_TYPE_PHYSICAL
| 4
+
| 1
 
|  
 
|  
 
|-
 
|-
| DOTA_MINIMAP_EVENT_BASE_GLYPHED
+
| DAMAGE_TYPE_MAGICAL
| 8
+
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_MINIMAP_EVENT_TEAMMATE_UNDER_ATTACK
+
| DAMAGE_TYPE_PURE
| 16
+
| 4
 
|  
 
|  
 
|-
 
|-
| DOTA_MINIMAP_EVENT_TEAMMATE_TELEPORTING
+
| DAMAGE_TYPE_ALL
| 32
+
| 7
 
|  
 
|  
 
|-
 
|-
| DOTA_MINIMAP_EVENT_TEAMMATE_DIED
+
| DAMAGE_TYPE_HP_REMOVAL
| 64
+
| 8
|
 
|-
 
| DOTA_MINIMAP_EVENT_TUTORIAL_TASK_ACTIVE
 
| 128
 
|
 
|-
 
| DOTA_MINIMAP_EVENT_TUTORIAL_TASK_FINISHED
 
| 256
 
|
 
|-
 
| DOTA_MINIMAP_EVENT_HINT_LOCATION
 
| 512
 
|
 
|-
 
| DOTA_MINIMAP_EVENT_ENEMY_TELEPORTING
 
| 1024
 
|
 
|-
 
| DOTA_MINIMAP_EVENT_CANCEL_TELEPORTING
 
| 2048
 
 
|  
 
|  
 
|}
 
|}
  
==== DOTAModifierAttribute_t ====
+
==== DOTAAbilitySpeakTrigger_t ====
 
{| class="standard-table" style="width: 50%;"
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Name
Line 6,752: Line 6,701:
 
! Description
 
! Description
 
|-
 
|-
| MODIFIER_ATTRIBUTE_NONE
+
| DOTA_ABILITY_SPEAK_START_ACTION_PHASE
 
| 0
 
| 0
 
|  
 
|  
 
|-
 
|-
| MODIFIER_ATTRIBUTE_PERMANENT
+
| DOTA_ABILITY_SPEAK_CAST
 
| 1
 
| 1
|
 
|-
 
| MODIFIER_ATTRIBUTE_MULTIPLE
 
| 2
 
|
 
|-
 
| MODIFIER_ATTRIBUTE_IGNORE_INVULNERABLE
 
| 4
 
 
|  
 
|  
 
|}
 
|}
  
==== DOTAMusicStatus_t ====
+
==== DOTADamageFlag_t ====
 
{| class="standard-table" style="width: 50%;"
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Name
Line 6,775: Line 6,716:
 
! Description
 
! Description
 
|-
 
|-
| DOTA_MUSIC_STATUS_NONE
+
| DOTA_DAMAGE_FLAG_NONE
 
| 0
 
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_MUSIC_STATUS_EXPLORATION
+
| DOTA_DAMAGE_FLAG_IGNORES_MAGIC_ARMOR
 
| 1
 
| 1
 
|  
 
|  
 
|-
 
|-
| DOTA_MUSIC_STATUS_BATTLE
+
| DOTA_DAMAGE_FLAG_IGNORES_PHYSICAL_ARMOR
 
| 2
 
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_MUSIC_STATUS_PRE_GAME_EXPLORATION
+
| DOTA_DAMAGE_FLAG_BYPASSES_INVULNERABILITY
| 3
+
| 4
 +
|
 +
|-
 +
| DOTA_DAMAGE_FLAG_BYPASSES_BLOCK
 +
| 8
 +
|
 +
|-
 +
| DOTA_DAMAGE_FLAG_REFLECTION
 +
| 16
 +
|
 +
|-
 +
| DOTA_DAMAGE_FLAG_HPLOSS
 +
| 32
 +
|
 +
|-
 +
| DOTA_DAMAGE_FLAG_NO_DIRECTOR_EVENT
 +
| 64
 +
|
 +
|-
 +
| DOTA_DAMAGE_FLAG_NON_LETHAL
 +
| 128
 
|  
 
|  
 
|-
 
|-
| DOTA_MUSIC_STATUS_DEAD
+
| DOTA_DAMAGE_FLAG_USE_COMBAT_PROFICIENCY
| 4
+
| 256
 
|  
 
|  
 
|-
 
|-
| DOTA_MUSIC_STATUS_LAST
+
| DOTA_DAMAGE_FLAG_NO_DAMAGE_MULTIPLIERS
| 5
+
| 512
 
|  
 
|  
 
|}
 
|}
  
==== DOTASlotType_t ====
+
==== DOTAHUDVisibility_t ====
 
{| class="standard-table" style="width: 50%;"
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Name
Line 6,806: Line 6,767:
 
! Description
 
! Description
 
|-
 
|-
| DOTA_LOADOUT_TYPE_INVALID
+
| DOTA_HUD_VISIBILITY_TOP_TIMEOFDAY
| -1
 
|
 
|-
 
| DOTA_LOADOUT_TYPE_WEAPON
 
 
| 0
 
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_OFFHAND_WEAPON
+
| DOTA_HUD_VISIBILITY_TOP_HEROES
 
| 1
 
| 1
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_WEAPON2
+
| DOTA_HUD_VISIBILITY_TOP_SCOREBOARD
 
| 2
 
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_OFFHAND_WEAPON2
+
| DOTA_HUD_VISIBILITY_ACTION_PANEL
 
| 3
 
| 3
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_HEAD
+
| DOTA_HUD_VISIBILITY_ACTION_MINIMAP
 
| 4
 
| 4
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_SHOULDER
+
| DOTA_HUD_VISIBILITY_INVENTORY_PANEL
 
| 5
 
| 5
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_ARMS
+
| DOTA_HUD_VISIBILITY_INVENTORY_SHOP
 
| 6
 
| 6
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_ARMOR
+
| DOTA_HUD_VISIBILITY_INVENTORY_ITEMS
 
| 7
 
| 7
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_BELT
+
| DOTA_HUD_VISIBILITY_INVENTORY_QUICKBUY
 
| 8
 
| 8
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_NECK
+
| DOTA_HUD_VISIBILITY_INVENTORY_COURIER
 
| 9
 
| 9
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_BACK
+
| DOTA_HUD_VISIBILITY_INVENTORY_PROTECT
 
| 10
 
| 10
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_LEGS
+
| DOTA_HUD_VISIBILITY_INVENTORY_GOLD
 
| 11
 
| 11
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_GLOVES
+
| DOTA_HUD_VISIBILITY_SHOP_SUGGESTEDITEMS
 
| 12
 
| 12
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_TAIL
+
| DOTA_HUD_VISIBILITY_COUNT
 
| 13
 
| 13
 
|  
 
|  
 +
|}
 +
 +
==== DOTAInventoryFlags_t ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| DOTA_LOADOUT_TYPE_MISC
+
| DOTA_INVENTORY_ALLOW_NONE
| 14
+
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_BODY_HEAD
+
| DOTA_INVENTORY_ALLOW_MAIN
| 15
+
| 1
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_MOUNT
+
| DOTA_INVENTORY_ALLOW_STASH
| 16
+
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_SUMMON
+
| DOTA_INVENTORY_ALL_ACCESS
| 17
+
| 3
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_SHAPESHIFT
+
| DOTA_INVENTORY_ALLOW_DROP_ON_GROUND
| 18
+
| 4
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_TAUNT
+
| DOTA_INVENTORY_ALLOW_DROP_AT_FOUNTAIN
| 19
+
| 8
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_AMBIENT_EFFECTS
+
| DOTA_INVENTORY_LIMIT_DROP_ON_GROUND
| 20
+
| 16
 
|  
 
|  
 +
|}
 +
 +
==== DOTALimits_t ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| DOTA_LOADOUT_TYPE_ABILITY_ATTACK
+
| DOTA_MAX_TEAM
| 21
+
| 5
|  
+
| Max number of players per team.
 +
|-
 +
| DOTA_MAX_PLAYER_TEAMS
 +
| 10
 +
| Max number of player teams supported.
 +
|-
 +
| DOTA_MAX_TEAM_PLAYERS
 +
| 10
 +
| Max number of non-spectator players supported.
 
|-
 
|-
| DOTA_LOADOUT_TYPE_ABILITY1
+
| DOTA_MAX_PLAYERS
| 22
+
| 64
|  
+
| Max number of players connected to the server including spectators.
 +
|}
 +
 
 +
==== DOTAMinimapEvent_t ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| DOTA_LOADOUT_TYPE_ABILITY2
+
| DOTA_MINIMAP_EVENT_ANCIENT_UNDER_ATTACK
| 23
+
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_ABILITY3
+
| DOTA_MINIMAP_EVENT_BASE_UNDER_ATTACK
| 24
+
| 4
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_ABILITY4
+
| DOTA_MINIMAP_EVENT_BASE_GLYPHED
| 25
+
| 8
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_ABILITY_ULTIMATE
+
| DOTA_MINIMAP_EVENT_TEAMMATE_UNDER_ATTACK
| 26
+
| 16
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_VOICE
+
| DOTA_MINIMAP_EVENT_TEAMMATE_TELEPORTING
| 27
+
| 32
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_ACTION_ITEM
+
| DOTA_MINIMAP_EVENT_TEAMMATE_DIED
| 28
+
| 64
 
|  
 
|  
 
|-
 
|-
| DOTA_PLAYER_LOADOUT_START
+
| DOTA_MINIMAP_EVENT_TUTORIAL_TASK_ACTIVE
| 28
+
| 128
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_COURIER
+
| DOTA_MINIMAP_EVENT_TUTORIAL_TASK_FINISHED
| 29
+
| 256
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_ANNOUNCER
+
| DOTA_MINIMAP_EVENT_HINT_LOCATION
| 30
+
| 512
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_MEGA_KILLS
+
| DOTA_MINIMAP_EVENT_ENEMY_TELEPORTING
| 31
+
| 1024
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_MUSIC
+
| DOTA_MINIMAP_EVENT_CANCEL_TELEPORTING
| 32
+
| 2048
 
|  
 
|  
 +
|}
 +
 +
==== DOTAModifierAttribute_t ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| DOTA_LOADOUT_TYPE_WARD
+
| MODIFIER_ATTRIBUTE_NONE
| 33
+
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_HUD_SKIN
+
| MODIFIER_ATTRIBUTE_PERMANENT
| 34
+
| 1
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_LOADING_SCREEN
+
| MODIFIER_ATTRIBUTE_MULTIPLE
| 35
+
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_WEATHER
+
| MODIFIER_ATTRIBUTE_IGNORE_INVULNERABLE
| 36
+
| 4
 
|  
 
|  
 +
|}
 +
 +
==== DOTAMusicStatus_t ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| DOTA_LOADOUT_TYPE_HEROIC_STATUE
+
| DOTA_MUSIC_STATUS_NONE
| 37
+
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_MULTIKILL_BANNER
+
| DOTA_MUSIC_STATUS_EXPLORATION
| 38
+
| 1
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_CURSOR_PACK
+
| DOTA_MUSIC_STATUS_BATTLE
| 39
+
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_TELEPORT_EFFECT
+
| DOTA_MUSIC_STATUS_PRE_GAME_EXPLORATION
| 40
+
| 3
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_BLINK_EFFECT
+
| DOTA_MUSIC_STATUS_DEAD
| 41
+
| 4
 
|  
 
|  
 
|-
 
|-
| DOTA_LOADOUT_TYPE_TEAM_SHOWCASE
+
| DOTA_MUSIC_STATUS_LAST
| 42
+
| 5
|
 
|-
 
| DOTA_PLAYER_LOADOUT_END
 
| 42
 
|
 
|-
 
| DOTA_LOADOUT_TYPE_NONE
 
| 43
 
|
 
|-
 
| DOTA_LOADOUT_TYPE_COUNT
 
| 44
 
 
|  
 
|  
 
|}
 
|}
  
==== DOTASpeechType_t ====
+
==== DOTASlotType_t ====
 
{| class="standard-table" style="width: 50%;"
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Name
Line 7,005: Line 6,993:
 
! Description
 
! Description
 
|-
 
|-
| DOTA_SPEECH_USER_INVALID
+
| DOTA_LOADOUT_TYPE_INVALID
 +
| -1
 +
|
 +
|-
 +
| DOTA_LOADOUT_TYPE_WEAPON
 
| 0
 
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_SPEECH_USER_SINGLE
+
| DOTA_LOADOUT_TYPE_OFFHAND_WEAPON
 
| 1
 
| 1
 
|  
 
|  
 
|-
 
|-
| DOTA_SPEECH_USER_TEAM
+
| DOTA_LOADOUT_TYPE_WEAPON2
 
| 2
 
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_SPEECH_USER_TEAM_NEARBY
+
| DOTA_LOADOUT_TYPE_OFFHAND_WEAPON2
 
| 3
 
| 3
 
|  
 
|  
 
|-
 
|-
| DOTA_SPEECH_USER_NEARBY
+
| DOTA_LOADOUT_TYPE_HEAD
 
| 4
 
| 4
 
|  
 
|  
 
|-
 
|-
| DOTA_SPEECH_USER_ALL
+
| DOTA_LOADOUT_TYPE_SHOULDER
 
| 5
 
| 5
 
|  
 
|  
 
|-
 
|-
| DOTA_SPEECH_GOOD_TEAM
+
| DOTA_LOADOUT_TYPE_ARMS
 
| 6
 
| 6
 
|  
 
|  
 
|-
 
|-
| DOTA_SPEECH_BAD_TEAM
+
| DOTA_LOADOUT_TYPE_ARMOR
 
| 7
 
| 7
 
|  
 
|  
 
|-
 
|-
| DOTA_SPEECH_SPECTATOR
+
| DOTA_LOADOUT_TYPE_BELT
 
| 8
 
| 8
 
|  
 
|  
 
|-
 
|-
| DOTA_SPEECH_RECIPIENT_TYPE_MAX
+
| DOTA_LOADOUT_TYPE_NECK
 
| 9
 
| 9
 
|  
 
|  
|}
+
|-
 
+
| DOTA_LOADOUT_TYPE_BACK
==== DOTATeam_t ====
+
| 10
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
|-
 
| DOTA_TEAM_FIRST
 
| 2
 
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_GOODGUYS
+
| DOTA_LOADOUT_TYPE_LEGS
| 2
+
| 11
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_BADGUYS
+
| DOTA_LOADOUT_TYPE_GLOVES
| 3
+
| 12
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_NEUTRALS
+
| DOTA_LOADOUT_TYPE_TAIL
| 4
+
| 13
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_NOTEAM
+
| DOTA_LOADOUT_TYPE_MISC
| 5
+
| 14
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_CUSTOM_1
+
| DOTA_LOADOUT_TYPE_BODY_HEAD
| 6
+
| 15
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_CUSTOM_MIN
+
| DOTA_LOADOUT_TYPE_MOUNT
| 6
+
| 16
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_CUSTOM_2
+
| DOTA_LOADOUT_TYPE_SUMMON
| 7
+
| 17
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_CUSTOM_3
+
| DOTA_LOADOUT_TYPE_SHAPESHIFT
| 8
+
| 18
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_CUSTOM_COUNT
+
| DOTA_LOADOUT_TYPE_TAUNT
| 8
+
| 19
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_CUSTOM_4
+
| DOTA_LOADOUT_TYPE_AMBIENT_EFFECTS
| 9
+
| 20
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_CUSTOM_5
+
| DOTA_LOADOUT_TYPE_ABILITY_ATTACK
| 10
+
| 21
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_CUSTOM_6
+
| DOTA_LOADOUT_TYPE_ABILITY1
| 11
+
| 22
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_CUSTOM_7
+
| DOTA_LOADOUT_TYPE_ABILITY2
| 12
+
| 23
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_CUSTOM_8
+
| DOTA_LOADOUT_TYPE_ABILITY3
| 13
+
| 24
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_CUSTOM_MAX
+
| DOTA_LOADOUT_TYPE_ABILITY4
| 13
+
| 25
 
|  
 
|  
 
|-
 
|-
| DOTA_TEAM_COUNT
+
| DOTA_LOADOUT_TYPE_ABILITY_ULTIMATE
| 14
+
| 26
 
|  
 
|  
|}
 
 
==== DOTAUnitAttackCapability_t ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| DOTA_UNIT_CAP_NO_ATTACK
+
| DOTA_LOADOUT_TYPE_VOICE
| 0
+
| 27
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_CAP_MELEE_ATTACK
+
| DOTA_LOADOUT_TYPE_ACTION_ITEM
| 1
+
| 28
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_CAP_RANGED_ATTACK
+
| DOTA_PLAYER_LOADOUT_START
| 2
+
| 28
 
|  
 
|  
|}
 
 
==== DOTAUnitMoveCapability_t ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| DOTA_UNIT_CAP_MOVE_NONE
+
| DOTA_LOADOUT_TYPE_COURIER
| 0
+
| 29
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_CAP_MOVE_GROUND
+
| DOTA_LOADOUT_TYPE_ANNOUNCER
| 1
+
| 30
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_CAP_MOVE_FLY
+
| DOTA_LOADOUT_TYPE_MEGA_KILLS
| 2
+
| 31
 
|  
 
|  
|}
 
 
==== DOTA_ABILITY_BEHAVIOR ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_NONE
+
| DOTA_LOADOUT_TYPE_MUSIC
| 0
+
| 32
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_HIDDEN
+
| DOTA_LOADOUT_TYPE_WARD
| 1
+
| 33
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_PASSIVE
+
| DOTA_LOADOUT_TYPE_HUD_SKIN
| 2
+
| 34
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_NO_TARGET
+
| DOTA_LOADOUT_TYPE_LOADING_SCREEN
| 4
+
| 35
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_UNIT_TARGET
+
| DOTA_LOADOUT_TYPE_WEATHER
| 8
+
| 36
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_POINT
+
| DOTA_LOADOUT_TYPE_HEROIC_STATUE
| 16
+
| 37
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_AOE
+
| DOTA_LOADOUT_TYPE_MULTIKILL_BANNER
| 32
+
| 38
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE
+
| DOTA_LOADOUT_TYPE_CURSOR_PACK
| 64
+
| 39
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_CHANNELLED
+
| DOTA_LOADOUT_TYPE_TELEPORT_EFFECT
| 128
+
| 40
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_ITEM
+
| DOTA_LOADOUT_TYPE_BLINK_EFFECT
| 256
+
| 41
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_TOGGLE
+
| DOTA_LOADOUT_TYPE_TEAM_SHOWCASE
| 512
+
| 42
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_DIRECTIONAL
+
| DOTA_PLAYER_LOADOUT_END
| 1024
+
| 42
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_IMMEDIATE
+
| DOTA_LOADOUT_TYPE_NONE
| 2048
+
| 43
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_AUTOCAST
+
| DOTA_LOADOUT_TYPE_COUNT
| 4096
+
| 44
 
|  
 
|  
 +
|}
 +
 +
==== DOTASpeechType_t ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_OPTIONAL_UNIT_TARGET
+
| DOTA_SPEECH_USER_INVALID
| 8192
+
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_OPTIONAL_POINT
+
| DOTA_SPEECH_USER_SINGLE
| 16384
+
| 1
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_OPTIONAL_NO_TARGET
+
| DOTA_SPEECH_USER_TEAM
| 32768
+
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_AURA
+
| DOTA_SPEECH_USER_TEAM_NEARBY
| 65536
+
| 3
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_ATTACK
+
| DOTA_SPEECH_USER_NEARBY
| 131072
+
| 4
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_DONT_RESUME_MOVEMENT
+
| DOTA_SPEECH_USER_ALL
| 262144
+
| 5
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_ROOT_DISABLES
+
| DOTA_SPEECH_GOOD_TEAM
| 524288
+
| 6
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_UNRESTRICTED
+
| DOTA_SPEECH_BAD_TEAM
| 1048576
+
| 7
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_IGNORE_PSEUDO_QUEUE
+
| DOTA_SPEECH_SPECTATOR
| 2097152
+
| 8
 
|  
 
|  
 
|-
 
|-
| DOTA_ABILITY_BEHAVIOR_IGNORE_CHANNEL
+
| DOTA_SPEECH_RECIPIENT_TYPE_MAX
| 4194304
+
| 9
|
 
|-
 
| DOTA_ABILITY_BEHAVIOR_DONT_CANCEL_MOVEMENT
 
| 8388608
 
|
 
|-
 
| DOTA_ABILITY_BEHAVIOR_DONT_ALERT_TARGET
 
| 16777216
 
|
 
|-
 
| DOTA_ABILITY_BEHAVIOR_DONT_RESUME_ATTACK
 
| 33554432
 
|
 
|-
 
| DOTA_ABILITY_BEHAVIOR_NORMAL_WHEN_STOLEN
 
| 67108864
 
|
 
|-
 
| DOTA_ABILITY_BEHAVIOR_IGNORE_BACKSWING
 
| 134217728
 
|
 
|-
 
| DOTA_ABILITY_BEHAVIOR_RUNE_TARGET
 
| 268435456
 
|
 
|-
 
| DOTA_ABILITY_BEHAVIOR_DONT_CANCEL_CHANNEL
 
| 536870912
 
|
 
|-
 
| DOTA_ABILITY_LAST_BEHAVIOR
 
| 536870912
 
 
|  
 
|  
 
|}
 
|}
  
==== DOTA_HeroPickState ====
+
==== DOTATeam_t ====
 
{| class="standard-table" style="width: 50%;"
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Name
Line 7,300: Line 7,239:
 
! Description
 
! Description
 
|-
 
|-
| DOTA_HEROPICK_STATE_NONE
+
| DOTA_TEAM_FIRST
| 0
+
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_AP_SELECT
+
| DOTA_TEAM_GOODGUYS
| 1
 
|
 
|-
 
| DOTA_HEROPICK_STATE_SD_SELECT
 
 
| 2
 
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_INTRO_SELECT
+
| DOTA_TEAM_BADGUYS
 
| 3
 
| 3
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_RD_SELECT
+
| DOTA_TEAM_NEUTRALS
 
| 4
 
| 4
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_INTRO
+
| DOTA_TEAM_NOTEAM
 
| 5
 
| 5
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_CAPTAINPICK
+
| DOTA_TEAM_CUSTOM_1
 
| 6
 
| 6
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_BAN1
+
| DOTA_TEAM_CUSTOM_MIN
 +
| 6
 +
|
 +
|-
 +
| DOTA_TEAM_CUSTOM_2
 
| 7
 
| 7
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_BAN2
+
| DOTA_TEAM_CUSTOM_3
 +
| 8
 +
|
 +
|-
 +
| DOTA_TEAM_CUSTOM_COUNT
 
| 8
 
| 8
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_BAN3
+
| DOTA_TEAM_CUSTOM_4
 
| 9
 
| 9
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_BAN4
+
| DOTA_TEAM_CUSTOM_5
 
| 10
 
| 10
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_BAN5
+
| DOTA_TEAM_CUSTOM_6
 
| 11
 
| 11
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_BAN6
+
| DOTA_TEAM_CUSTOM_7
 
| 12
 
| 12
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_BAN7
+
| DOTA_TEAM_CUSTOM_8
 
| 13
 
| 13
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_BAN8
+
| DOTA_TEAM_CUSTOM_MAX
| 14
+
| 13
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_BAN9
+
| DOTA_TEAM_COUNT
| 15
+
| 14
 
|  
 
|  
 +
|}
 +
 +
==== DOTAUnitAttackCapability_t ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_BAN10
+
| DOTA_UNIT_CAP_NO_ATTACK
| 16
+
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_SELECT1
+
| DOTA_UNIT_CAP_MELEE_ATTACK
| 17
+
| 1
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_SELECT2
+
| DOTA_UNIT_CAP_RANGED_ATTACK
| 18
+
| 2
 
|  
 
|  
 +
|}
 +
 +
==== DOTAUnitMoveCapability_t ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_SELECT3
+
| DOTA_UNIT_CAP_MOVE_NONE
| 19
+
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_SELECT4
+
| DOTA_UNIT_CAP_MOVE_GROUND
| 20
+
| 1
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_SELECT5
+
| DOTA_UNIT_CAP_MOVE_FLY
| 21
+
| 2
 
|  
 
|  
 +
|}
 +
 +
==== DOTA_ABILITY_BEHAVIOR ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_SELECT6
+
| DOTA_ABILITY_BEHAVIOR_NONE
| 22
+
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_SELECT7
+
| DOTA_ABILITY_BEHAVIOR_HIDDEN
| 23
+
| 1
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_SELECT8
+
| DOTA_ABILITY_BEHAVIOR_PASSIVE
| 24
+
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_SELECT9
+
| DOTA_ABILITY_BEHAVIOR_NO_TARGET
| 25
+
| 4
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_SELECT10
+
| DOTA_ABILITY_BEHAVIOR_UNIT_TARGET
| 26
+
| 8
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CM_PICK
+
| DOTA_ABILITY_BEHAVIOR_POINT
| 27
+
| 16
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_AR_SELECT
+
| DOTA_ABILITY_BEHAVIOR_AOE
| 28
+
| 32
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_MO_SELECT
+
| DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE
| 29
+
| 64
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_FH_SELECT
+
| DOTA_ABILITY_BEHAVIOR_CHANNELLED
| 30
+
| 128
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_INTRO
+
| DOTA_ABILITY_BEHAVIOR_ITEM
| 31
+
| 256
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_CAPTAINPICK
+
| DOTA_ABILITY_BEHAVIOR_TOGGLE
| 32
+
| 512
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_BAN1
+
| DOTA_ABILITY_BEHAVIOR_DIRECTIONAL
| 33
+
| 1024
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_BAN2
+
| DOTA_ABILITY_BEHAVIOR_IMMEDIATE
| 34
+
| 2048
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_BAN3
+
| DOTA_ABILITY_BEHAVIOR_AUTOCAST
| 35
+
| 4096
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_BAN4
+
| DOTA_ABILITY_BEHAVIOR_OPTIONAL_UNIT_TARGET
| 36
+
| 8192
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_BAN5
+
| DOTA_ABILITY_BEHAVIOR_OPTIONAL_POINT
| 37
+
| 16384
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_BAN6
+
| DOTA_ABILITY_BEHAVIOR_OPTIONAL_NO_TARGET
| 38
+
| 32768
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_SELECT1
+
| DOTA_ABILITY_BEHAVIOR_AURA
| 39
+
| 65536
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_SELECT2
+
| DOTA_ABILITY_BEHAVIOR_ATTACK
| 40
+
| 131072
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_SELECT3
+
| DOTA_ABILITY_BEHAVIOR_DONT_RESUME_MOVEMENT
| 41
+
| 262144
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_SELECT4
+
| DOTA_ABILITY_BEHAVIOR_ROOT_DISABLES
| 42
+
| 524288
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_SELECT5
+
| DOTA_ABILITY_BEHAVIOR_UNRESTRICTED
| 43
+
| 1048576
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_SELECT6
+
| DOTA_ABILITY_BEHAVIOR_IGNORE_PSEUDO_QUEUE
| 44
+
| 2097152
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_SELECT7
+
| DOTA_ABILITY_BEHAVIOR_IGNORE_CHANNEL
| 45
+
| 4194304
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_SELECT8
+
| DOTA_ABILITY_BEHAVIOR_DONT_CANCEL_MOVEMENT
| 46
+
| 8388608
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_SELECT9
+
| DOTA_ABILITY_BEHAVIOR_DONT_ALERT_TARGET
| 47
+
| 16777216
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_SELECT10
+
| DOTA_ABILITY_BEHAVIOR_DONT_RESUME_ATTACK
| 48
+
| 33554432
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_CD_PICK
+
| DOTA_ABILITY_BEHAVIOR_NORMAL_WHEN_STOLEN
| 49
+
| 67108864
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_BD_SELECT
+
| DOTA_ABILITY_BEHAVIOR_IGNORE_BACKSWING
| 50
+
| 134217728
 
|  
 
|  
 
|-
 
|-
| DOTA_HERO_PICK_STATE_ABILITY_DRAFT_SELECT
+
| DOTA_ABILITY_BEHAVIOR_RUNE_TARGET
| 51
+
| 268435456
 
|  
 
|  
 
|-
 
|-
| DOTA_HERO_PICK_STATE_ARDM_SELECT
+
| DOTA_ABILITY_BEHAVIOR_DONT_CANCEL_CHANNEL
| 52
+
| 536870912
 
|  
 
|  
 
|-
 
|-
| DOTA_HEROPICK_STATE_ALL_DRAFT_SELECT
+
| DOTA_ABILITY_LAST_BEHAVIOR
| 53
+
| 536870912
|
 
|-
 
| DOTA_HERO_PICK_STATE_CUSTOMGAME_SELECT
 
| 54
 
|
 
|-
 
| DOTA_HEROPICK_STATE_COUNT
 
| 55
 
 
|  
 
|  
 
|}
 
|}
  
==== DOTA_MOTION_CONTROLLER_PRIORITY ====
+
==== DOTA_HeroPickState ====
 
{| class="standard-table" style="width: 50%;"
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Name
Line 7,531: Line 7,487:
 
! Description
 
! Description
 
|-
 
|-
| DOTA_MOTION_CONTROLLER_PRIORITY_LOWEST
+
| DOTA_HEROPICK_STATE_NONE
 
| 0
 
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_MOTION_CONTROLLER_PRIORITY_LOW
+
| DOTA_HEROPICK_STATE_AP_SELECT
 
| 1
 
| 1
 
|  
 
|  
 
|-
 
|-
| DOTA_MOTION_CONTROLLER_PRIORITY_MEDIUM
+
| DOTA_HEROPICK_STATE_SD_SELECT
 
| 2
 
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_MOTION_CONTROLLER_PRIORITY_HIGH
+
| DOTA_HEROPICK_STATE_INTRO_SELECT
 
| 3
 
| 3
 
|  
 
|  
 
|-
 
|-
| DOTA_MOTION_CONTROLLER_PRIORITY_HIGHEST
+
| DOTA_HEROPICK_STATE_RD_SELECT
 
| 4
 
| 4
|
 
|}
 
 
==== DOTA_RUNES ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
|-
 
| DOTA_RUNE_INVALID
 
| -1
 
 
|  
 
|  
 
|-
 
|-
| DOTA_RUNE_DOUBLEDAMAGE
+
| DOTA_HEROPICK_STATE_CM_INTRO
| 0
 
|
 
|-
 
| DOTA_RUNE_HASTE
 
| 1
 
|
 
|-
 
| DOTA_RUNE_ILLUSION
 
| 2
 
|
 
|-
 
| DOTA_RUNE_INVISIBILITY
 
| 3
 
|
 
|-
 
| DOTA_RUNE_REGENERATION
 
| 4
 
|
 
|-
 
| DOTA_RUNE_BOUNTY
 
 
| 5
 
| 5
 
|  
 
|  
 
|-
 
|-
| DOTA_RUNE_COUNT
+
| DOTA_HEROPICK_STATE_CM_CAPTAINPICK
 
| 6
 
| 6
 
|  
 
|  
 
|-
 
|-
| DOTA_RUNE_HAUNTED
+
| DOTA_HEROPICK_STATE_CM_BAN1
 
| 7
 
| 7
 
|  
 
|  
 
|-
 
|-
| DOTA_RUNE_SPOOKY
+
| DOTA_HEROPICK_STATE_CM_BAN2
 
| 8
 
| 8
 
|  
 
|  
 
|-
 
|-
| DOTA_RUNE_RAPIER
+
| DOTA_HEROPICK_STATE_CM_BAN3
 
| 9
 
| 9
 
|  
 
|  
 
|-
 
|-
| DOTA_RUNE_TURBO
+
| DOTA_HEROPICK_STATE_CM_BAN4
 
| 10
 
| 10
 
|  
 
|  
 
|-
 
|-
| DOTA_RUNE_MYSTERY
+
| DOTA_HEROPICK_STATE_CM_BAN5
 
| 11
 
| 11
 
|  
 
|  
 
|-
 
|-
| DOTA_HALLOWEEN_RUNE_COUNT
+
| DOTA_HEROPICK_STATE_CM_BAN6
 
| 12
 
| 12
 
|  
 
|  
|}
+
|-
 
+
| DOTA_HEROPICK_STATE_CM_BAN7
==== DOTA_UNIT_TARGET_FLAGS ====
+
| 13
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
|-
 
| DOTA_UNIT_TARGET_FLAG_NONE
 
| 0
 
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_RANGED_ONLY
+
| DOTA_HEROPICK_STATE_CM_BAN8
| 2
+
| 14
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_MELEE_ONLY
+
| DOTA_HEROPICK_STATE_CM_BAN9
| 4
+
| 15
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_DEAD
+
| DOTA_HEROPICK_STATE_CM_BAN10
| 8
+
| 16
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES
+
| DOTA_HEROPICK_STATE_CM_SELECT1
| 16
+
| 17
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_NOT_MAGIC_IMMUNE_ALLIES
+
| DOTA_HEROPICK_STATE_CM_SELECT2
| 32
+
| 18
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_INVULNERABLE
+
| DOTA_HEROPICK_STATE_CM_SELECT3
| 64
+
| 19
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE
+
| DOTA_HEROPICK_STATE_CM_SELECT4
| 128
+
| 20
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_NO_INVIS
+
| DOTA_HEROPICK_STATE_CM_SELECT5
| 256
+
| 21
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_NOT_ANCIENTS
+
| DOTA_HEROPICK_STATE_CM_SELECT6
| 512
+
| 22
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
+
| DOTA_HEROPICK_STATE_CM_SELECT7
| 1024
+
| 23
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_NOT_DOMINATED
+
| DOTA_HEROPICK_STATE_CM_SELECT8
| 2048
+
| 24
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_NOT_SUMMONED
+
| DOTA_HEROPICK_STATE_CM_SELECT9
| 4096
+
| 25
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_NOT_ILLUSIONS
+
| DOTA_HEROPICK_STATE_CM_SELECT10
| 8192
+
| 26
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_NOT_ATTACK_IMMUNE
+
| DOTA_HEROPICK_STATE_CM_PICK
| 16384
+
| 27
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_MANA_ONLY
+
| DOTA_HEROPICK_STATE_AR_SELECT
| 32768
+
| 28
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_CHECK_DISABLE_HELP
+
| DOTA_HEROPICK_STATE_MO_SELECT
| 65536
+
| 29
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_NOT_CREEP_HERO
+
| DOTA_HEROPICK_STATE_FH_SELECT
| 131072
+
| 30
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_OUT_OF_WORLD
+
| DOTA_HEROPICK_STATE_CD_INTRO
| 262144
+
| 31
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_FLAG_NOT_NIGHTMARED
+
| DOTA_HEROPICK_STATE_CD_CAPTAINPICK
| 524288
+
| 32
 
|  
 
|  
|}
 
 
==== DOTA_UNIT_TARGET_TEAM ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| DOTA_UNIT_TARGET_TEAM_NONE
+
| DOTA_HEROPICK_STATE_CD_BAN1
| 0
+
| 33
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_TEAM_FRIENDLY
+
| DOTA_HEROPICK_STATE_CD_BAN2
| 1
+
| 34
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_TEAM_ENEMY
+
| DOTA_HEROPICK_STATE_CD_BAN3
| 2
+
| 35
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_TEAM_BOTH
+
| DOTA_HEROPICK_STATE_CD_BAN4
| 3
+
| 36
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_TEAM_CUSTOM
+
| DOTA_HEROPICK_STATE_CD_BAN5
| 4
+
| 37
 
|  
 
|  
|}
 
 
==== DOTA_UNIT_TARGET_TYPE ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| DOTA_UNIT_TARGET_NONE
+
| DOTA_HEROPICK_STATE_CD_BAN6
| 0
+
| 38
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_HERO
+
| DOTA_HEROPICK_STATE_CD_SELECT1
| 1
+
| 39
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_CREEP
+
| DOTA_HEROPICK_STATE_CD_SELECT2
| 2
+
| 40
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_BUILDING
+
| DOTA_HEROPICK_STATE_CD_SELECT3
| 4
+
| 41
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_MECHANICAL
+
| DOTA_HEROPICK_STATE_CD_SELECT4
| 8
+
| 42
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_COURIER
+
| DOTA_HEROPICK_STATE_CD_SELECT5
| 16
+
| 43
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_BASIC
+
| DOTA_HEROPICK_STATE_CD_SELECT6
| 18
+
| 44
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_OTHER
+
| DOTA_HEROPICK_STATE_CD_SELECT7
| 32
+
| 45
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_ALL
+
| DOTA_HEROPICK_STATE_CD_SELECT8
| 63
+
| 46
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_TREE
+
| DOTA_HEROPICK_STATE_CD_SELECT9
| 64
+
| 47
 
|  
 
|  
 
|-
 
|-
| DOTA_UNIT_TARGET_CUSTOM
+
| DOTA_HEROPICK_STATE_CD_SELECT10
| 128
+
| 48
 
|  
 
|  
|}
+
|-
 
+
| DOTA_HEROPICK_STATE_CD_PICK
==== EDOTA_ModifyGold_Reason ====
+
| 49
 +
|
 +
|-
 +
| DOTA_HEROPICK_STATE_BD_SELECT
 +
| 50
 +
|
 +
|-
 +
| DOTA_HERO_PICK_STATE_ABILITY_DRAFT_SELECT
 +
| 51
 +
|
 +
|-
 +
| DOTA_HERO_PICK_STATE_ARDM_SELECT
 +
| 52
 +
|
 +
|-
 +
| DOTA_HEROPICK_STATE_ALL_DRAFT_SELECT
 +
| 53
 +
|
 +
|-
 +
| DOTA_HERO_PICK_STATE_CUSTOMGAME_SELECT
 +
| 54
 +
|
 +
|-
 +
| DOTA_HEROPICK_STATE_COUNT
 +
| 55
 +
|
 +
|}
 +
 
 +
==== DOTA_MOTION_CONTROLLER_PRIORITY ====
 
{| class="standard-table" style="width: 50%;"
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Name
Line 7,786: Line 7,718:
 
! Description
 
! Description
 
|-
 
|-
| DOTA_ModifyGold_Unspecified
+
| DOTA_MOTION_CONTROLLER_PRIORITY_LOWEST
 
| 0
 
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyGold_Death
+
| DOTA_MOTION_CONTROLLER_PRIORITY_LOW
 
| 1
 
| 1
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyGold_Buyback
+
| DOTA_MOTION_CONTROLLER_PRIORITY_MEDIUM
 
| 2
 
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyGold_PurchaseConsumable
+
| DOTA_MOTION_CONTROLLER_PRIORITY_HIGH
 
| 3
 
| 3
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyGold_PurchaseItem
+
| DOTA_MOTION_CONTROLLER_PRIORITY_HIGHEST
 
| 4
 
| 4
 
|  
 
|  
 +
|}
 +
 +
==== DOTA_RUNES ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| DOTA_ModifyGold_AbandonedRedistribute
+
| DOTA_RUNE_INVALID
| 5
+
| -1
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyGold_SellItem
+
| DOTA_RUNE_DOUBLEDAMAGE
| 6
+
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyGold_AbilityCost
+
| DOTA_RUNE_HASTE
| 7
+
| 1
 +
|
 +
|-
 +
| DOTA_RUNE_ILLUSION
 +
| 2
 +
|
 +
|-
 +
| DOTA_RUNE_INVISIBILITY
 +
| 3
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyGold_CheatCommand
+
| DOTA_RUNE_REGENERATION
| 8
+
| 4
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyGold_SelectionPenalty
+
| DOTA_RUNE_BOUNTY
| 9
+
| 5
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyGold_GameTick
+
| DOTA_RUNE_COUNT
| 10
+
| 6
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyGold_Building
+
| DOTA_RUNE_HAUNTED
| 11
+
| 7
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyGold_HeroKill
+
| DOTA_RUNE_SPOOKY
| 12
+
| 8
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyGold_CreepKill
+
| DOTA_RUNE_RAPIER
| 13
+
| 9
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyGold_RoshanKill
+
| DOTA_RUNE_TURBO
| 14
+
| 10
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyGold_CourierKill
+
| DOTA_RUNE_MYSTERY
| 15
+
| 11
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyGold_SharedGold
+
| DOTA_HALLOWEEN_RUNE_COUNT
| 16
+
| 12
 
|  
 
|  
 
|}
 
|}
  
==== EDOTA_ModifyXP_Reason ====
+
==== DOTA_UNIT_TARGET_FLAGS ====
 
{| class="standard-table" style="width: 50%;"
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Name
Line 7,861: Line 7,808:
 
! Description
 
! Description
 
|-
 
|-
| DOTA_ModifyXP_Unspecified
+
| DOTA_UNIT_TARGET_FLAG_NONE
 
| 0
 
| 0
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyXP_HeroKill
+
| DOTA_UNIT_TARGET_FLAG_RANGED_ONLY
| 1
+
| 2
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyXP_CreepKill
+
| DOTA_UNIT_TARGET_FLAG_MELEE_ONLY
| 2
+
| 4
 
|  
 
|  
 
|-
 
|-
| DOTA_ModifyXP_RoshanKill
+
| DOTA_UNIT_TARGET_FLAG_DEAD
| 3
+
| 8
 
|  
 
|  
|}
 
 
==== EShareAbility ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| ITEM_FULLY_SHAREABLE
+
| DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES
| 0
+
| 16
 
|  
 
|  
 
|-
 
|-
| ITEM_PARTIALLY_SHAREABLE
+
| DOTA_UNIT_TARGET_FLAG_NOT_MAGIC_IMMUNE_ALLIES
| 1
+
| 32
 
|  
 
|  
 
|-
 
|-
| ITEM_NOT_SHAREABLE
+
| DOTA_UNIT_TARGET_FLAG_INVULNERABLE
| 2
+
| 64
 
|  
 
|  
|}
 
 
==== GameActivity_t ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| ACT_DOTA_IDLE
+
| DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE
| 1500
+
| 128
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_IDLE_RARE
+
| DOTA_UNIT_TARGET_FLAG_NO_INVIS
| 1501
+
| 256
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_RUN
+
| DOTA_UNIT_TARGET_FLAG_NOT_ANCIENTS
| 1502
+
| 512
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_ATTACK
+
| DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
| 1503
+
| 1024
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_ATTACK2
+
| DOTA_UNIT_TARGET_FLAG_NOT_DOMINATED
| 1504
+
| 2048
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_ATTACK_EVENT
+
| DOTA_UNIT_TARGET_FLAG_NOT_SUMMONED
| 1505
+
| 4096
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_DIE
+
| DOTA_UNIT_TARGET_FLAG_NOT_ILLUSIONS
| 1506
+
| 8192
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_FLINCH
+
| DOTA_UNIT_TARGET_FLAG_NOT_ATTACK_IMMUNE
| 1507
+
| 16384
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_FLAIL
+
| DOTA_UNIT_TARGET_FLAG_MANA_ONLY
| 1508
+
| 32768
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_DISABLED
+
| DOTA_UNIT_TARGET_FLAG_CHECK_DISABLE_HELP
| 1509
+
| 65536
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_ABILITY_1
+
| DOTA_UNIT_TARGET_FLAG_NOT_CREEP_HERO
| 1510
+
| 131072
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_ABILITY_2
+
| DOTA_UNIT_TARGET_FLAG_OUT_OF_WORLD
| 1511
+
| 262144
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_ABILITY_3
+
| DOTA_UNIT_TARGET_FLAG_NOT_NIGHTMARED
| 1512
+
| 524288
 
|  
 
|  
 +
|}
 +
 +
==== DOTA_UNIT_TARGET_TEAM ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| ACT_DOTA_CAST_ABILITY_4
+
| DOTA_UNIT_TARGET_TEAM_NONE
| 1513
+
| 0
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_ABILITY_5
+
| DOTA_UNIT_TARGET_TEAM_FRIENDLY
| 1514
+
| 1
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_ABILITY_6
+
| DOTA_UNIT_TARGET_TEAM_ENEMY
| 1515
+
| 2
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_OVERRIDE_ABILITY_1
+
| DOTA_UNIT_TARGET_TEAM_BOTH
| 1516
+
| 3
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_OVERRIDE_ABILITY_2
+
| DOTA_UNIT_TARGET_TEAM_CUSTOM
| 1517
+
| 4
 
|  
 
|  
 +
|}
 +
 +
==== DOTA_UNIT_TARGET_TYPE ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| ACT_DOTA_OVERRIDE_ABILITY_3
+
| DOTA_UNIT_TARGET_NONE
| 1518
+
| 0
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_OVERRIDE_ABILITY_4
+
| DOTA_UNIT_TARGET_HERO
| 1519
+
| 1
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CHANNEL_ABILITY_1
+
| DOTA_UNIT_TARGET_CREEP
| 1520
+
| 2
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CHANNEL_ABILITY_2
+
| DOTA_UNIT_TARGET_BUILDING
| 1521
+
| 4
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CHANNEL_ABILITY_3
+
| DOTA_UNIT_TARGET_MECHANICAL
| 1522
+
| 8
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CHANNEL_ABILITY_4
+
| DOTA_UNIT_TARGET_COURIER
| 1523
+
| 16
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CHANNEL_ABILITY_5
+
| DOTA_UNIT_TARGET_BASIC
| 1524
+
| 18
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CHANNEL_ABILITY_6
+
| DOTA_UNIT_TARGET_OTHER
| 1525
+
| 32
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CHANNEL_END_ABILITY_1
+
| DOTA_UNIT_TARGET_ALL
| 1526
+
| 63
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CHANNEL_END_ABILITY_2
+
| DOTA_UNIT_TARGET_TREE
| 1527
+
| 64
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CHANNEL_END_ABILITY_3
+
| DOTA_UNIT_TARGET_CUSTOM
| 1528
+
| 128
 
|  
 
|  
 +
|}
 +
 +
==== EDOTA_ModifyGold_Reason ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| ACT_DOTA_CHANNEL_END_ABILITY_4
+
| DOTA_ModifyGold_Unspecified
| 1529
+
| 0
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CHANNEL_END_ABILITY_5
+
| DOTA_ModifyGold_Death
| 1530
+
| 1
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CHANNEL_END_ABILITY_6
+
| DOTA_ModifyGold_Buyback
| 1531
+
| 2
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CONSTANT_LAYER
+
| DOTA_ModifyGold_PurchaseConsumable
| 1532
+
| 3
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAPTURE
+
| DOTA_ModifyGold_PurchaseItem
| 1533
+
| 4
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_SPAWN
+
| DOTA_ModifyGold_AbandonedRedistribute
| 1534
+
| 5
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_KILLTAUNT
+
| DOTA_ModifyGold_SellItem
| 1535
+
| 6
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_TAUNT
+
| DOTA_ModifyGold_AbilityCost
| 1536
+
| 7
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_THIRST
+
| DOTA_ModifyGold_CheatCommand
| 1537
+
| 8
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_DRAGONBREATH
+
| DOTA_ModifyGold_SelectionPenalty
| 1538
+
| 9
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_ECHO_SLAM
+
| DOTA_ModifyGold_GameTick
| 1539
+
| 10
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_ABILITY_1_END
+
| DOTA_ModifyGold_Building
| 1540
+
| 11
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_ABILITY_2_END
+
| DOTA_ModifyGold_HeroKill
| 1541
+
| 12
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_ABILITY_3_END
+
| DOTA_ModifyGold_CreepKill
| 1542
+
| 13
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_ABILITY_4_END
+
| DOTA_ModifyGold_RoshanKill
| 1543
+
| 14
 
|  
 
|  
 
|-
 
|-
| ACT_MIRANA_LEAP_END
+
| DOTA_ModifyGold_CourierKill
| 1544
+
| 15
 
|  
 
|  
 
|-
 
|-
| ACT_WAVEFORM_START
+
| DOTA_ModifyGold_SharedGold
| 1545
+
| 16
 
|  
 
|  
 +
|}
 +
 +
==== EDOTA_ModifyXP_Reason ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| ACT_WAVEFORM_END
+
| DOTA_ModifyXP_Unspecified
| 1546
+
| 0
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_ABILITY_ROT
+
| DOTA_ModifyXP_HeroKill
| 1547
+
| 1
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_DIE_SPECIAL
+
| DOTA_ModifyXP_CreepKill
| 1548
+
| 2
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_RATTLETRAP_BATTERYASSAULT
+
| DOTA_ModifyXP_RoshanKill
| 1549
+
| 3
 
|  
 
|  
 +
|}
 +
 +
==== EShareAbility ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| ACT_DOTA_RATTLETRAP_POWERCOGS
+
| ITEM_FULLY_SHAREABLE
| 1550
+
| 0
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_RATTLETRAP_HOOKSHOT_START
+
| ITEM_PARTIALLY_SHAREABLE
| 1551
+
| 1
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_RATTLETRAP_HOOKSHOT_LOOP
+
| ITEM_NOT_SHAREABLE
| 1552
+
| 2
 
|  
 
|  
 +
|}
 +
 +
==== LuaModifierType ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| ACT_DOTA_RATTLETRAP_HOOKSHOT_END
+
| LUA_MODIFIER_MOTION_NONE
| 1553
+
| 0
 
|  
 
|  
 
|-
 
|-
| ACT_STORM_SPIRIT_OVERLOAD_RUN_OVERRIDE
+
| LUA_MODIFIER_MOTION_HORIZONTAL
| 1554
+
| 1
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_TINKER_REARM1
+
| LUA_MODIFIER_MOTION_VERTICAL
| 1555
+
| 2
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_TINKER_REARM2
+
| LUA_MODIFIER_MOTION_BOTH
| 1556
+
| 3
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_TINKER_REARM3
+
| LUA_MODIFIER_INVALID
| 1557
+
| 4
 
|  
 
|  
 +
|}
 +
 +
==== ParticleAttachment_t ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| ACT_TINY_AVALANCHE
+
| PATTACH_INVALID
| 1558
+
| -1
 
|  
 
|  
 
|-
 
|-
| ACT_TINY_TOSS
+
| PATTACH_ABSORIGIN
| 1559
+
| 0
 
|  
 
|  
 
|-
 
|-
| ACT_TINY_GROWL
+
| PATTACH_ABSORIGIN_FOLLOW
| 1560
+
| 1
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_WEAVERBUG_ATTACH
+
| PATTACH_CUSTOMORIGIN
| 1561
+
| 2
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_WILD_AXES_END
+
| PATTACH_CUSTOMORIGIN_FOLLOW
| 1562
+
| 3
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_LIFE_BREAK_START
+
| PATTACH_POINT
| 1563
+
| 4
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_LIFE_BREAK_END
+
| PATTACH_POINT_FOLLOW
| 1564
+
| 5
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_NIGHTSTALKER_TRANSITION
+
| PATTACH_EYES_FOLLOW
| 1565
+
| 6
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_LIFESTEALER_RAGE
+
| PATTACH_OVERHEAD_FOLLOW
| 1566
+
| 7
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_LIFESTEALER_OPEN_WOUNDS
+
| PATTACH_WORLDORIGIN
| 1567
+
| 8
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_SAND_KING_BURROW_IN
+
| PATTACH_ROOTBONE_FOLLOW
| 1568
+
| 9
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_SAND_KING_BURROW_OUT
+
| PATTACH_RENDERORIGIN_FOLLOW
| 1569
+
| 10
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_EARTHSHAKER_TOTEM_ATTACK
+
| PATTACH_MAIN_VIEW
| 1570
+
| 11
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_WHEEL_LAYER
+
| PATTACH_WATERWAKE
| 1571
+
| 12
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_ALCHEMIST_CHEMICAL_RAGE_START
+
| MAX_PATTACH_TYPES
| 1572
+
| 13
 
|  
 
|  
 +
|}
 +
 +
==== UnitFilterResult ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| ACT_DOTA_ALCHEMIST_CONCOCTION
+
| UF_SUCCESS
| 1573
+
| 0
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_JAKIRO_LIQUIDFIRE_START
+
| UF_FAIL_FRIENDLY
| 1574
+
| 1
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_JAKIRO_LIQUIDFIRE_LOOP
+
| UF_FAIL_ENEMY
| 1575
+
| 2
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_LIFESTEALER_INFEST
+
| UF_FAIL_HERO
| 1576
+
| 3
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_LIFESTEALER_INFEST_END
+
| UF_FAIL_CONSIDERED_HERO
| 1577
+
| 4
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_LASSO_LOOP
+
| UF_FAIL_CREEP
| 1578
+
| 5
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_ALCHEMIST_CONCOCTION_THROW
+
| UF_FAIL_BUILDING
| 1579
+
| 6
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_ALCHEMIST_CHEMICAL_RAGE_END
+
| UF_FAIL_MECHANICAL
| 1580
+
| 7
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_COLD_SNAP
+
| UF_FAIL_COURIER
| 1581
+
| 8
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_GHOST_WALK
+
| UF_FAIL_OTHER
| 1582
+
| 9
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_TORNADO
+
| UF_FAIL_ANCIENT
| 1583
+
| 10
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_EMP
+
| UF_FAIL_ILLUSION
| 1584
+
| 11
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_ALACRITY
+
| UF_FAIL_SUMMONED
| 1585
+
| 12
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_CHAOS_METEOR
+
| UF_FAIL_DOMINATED
| 1586
+
| 13
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_SUN_STRIKE
+
| UF_FAIL_MELEE
| 1587
+
| 14
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_FORGE_SPIRIT
+
| UF_FAIL_RANGED
| 1588
+
| 15
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_ICE_WALL
+
| UF_FAIL_DEAD
| 1589
+
| 16
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_DEAFENING_BLAST
+
| UF_FAIL_MAGIC_IMMUNE_ALLY
| 1590
+
| 17
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_VICTORY
+
| UF_FAIL_MAGIC_IMMUNE_ENEMY
| 1591
+
| 18
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_DEFEAT
+
| UF_FAIL_INVULNERABLE
| 1592
+
| 19
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_SPIRIT_BREAKER_CHARGE_POSE
+
| UF_FAIL_IN_FOW
| 1593
+
| 20
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_SPIRIT_BREAKER_CHARGE_END
+
| UF_FAIL_INVISIBLE
| 1594
+
| 21
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_TELEPORT
+
| UF_FAIL_NOT_PLAYER_CONTROLLED
| 1595
+
| 22
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_TELEPORT_END
+
| UF_FAIL_ATTACK_IMMUNE
| 1596
+
| 23
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_REFRACTION
+
| UF_FAIL_CUSTOM
| 1597
+
| 24
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CAST_ABILITY_7
+
| UF_FAIL_INVALID_LOCATION
| 1598
+
| 25
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CANCEL_SIREN_SONG
+
| UF_FAIL_DISABLE_HELP
| 1599
+
| 26
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_CHANNEL_ABILITY_7
+
| UF_FAIL_OUT_OF_WORLD
| 1600
+
| 27
 
|  
 
|  
 
|-
 
|-
| ACT_DOTA_LOADOUT
+
| UF_FAIL_NIGHTMARED
| 1601
+
| 28
 
|  
 
|  
 +
|}
 +
 +
==== modifierfunction ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| ACT_DOTA_FORCESTAFF_END
+
| MODIFIER_PROPERTY_PREATTACK_BONUS_DAMAGE
| 1602
+
| 0
|  
+
| GetModifierPreAttack_BonusDamage
 
|-
 
|-
| ACT_DOTA_POOF_END
+
| MODIFIER_PROPERTY_PREATTACK_BONUS_DAMAGE_POST_CRIT
| 1603
+
| 1
|  
+
| GetModifierPreAttack_BonusDamagePostCrit
 
|-
 
|-
| ACT_DOTA_SLARK_POUNCE
+
| MODIFIER_PROPERTY_BASEATTACK_BONUSDAMAGE
| 1604
+
| 2
|  
+
| GetModifierBaseAttack_BonusDamage
 
|-
 
|-
| ACT_DOTA_MAGNUS_SKEWER_START
+
| MODIFIER_PROPERTY_PROCATTACK_BONUS_DAMAGE_PHYSICAL
| 1605
+
| 3
|  
+
| GetModifierProcAttack_BonusDamage_Physical
 
|-
 
|-
| ACT_DOTA_MAGNUS_SKEWER_END
+
| MODIFIER_PROPERTY_PROCATTACK_BONUS_DAMAGE_MAGICAL
| 1606
+
| 4
|  
+
| GetModifierProcAttack_BonusDamage_Magical
 
|-
 
|-
| ACT_DOTA_MEDUSA_STONE_GAZE
+
| MODIFIER_PROPERTY_PROCATTACK_BONUS_DAMAGE_PURE
| 1607
+
| 5
|  
+
| GetModifierProcAttack_BonusDamage_Pure
 
|-
 
|-
| ACT_DOTA_RELAX_START
+
| MODIFIER_PROPERTY_PROCATTACK_FEEDBACK
| 1608
+
| 6
|  
+
| GetModifierProcAttack_Feedback
 
|-
 
|-
| ACT_DOTA_RELAX_LOOP
+
| MODIFIER_PROPERTY_PRE_ATTACK
| 1609
+
| 7
|  
+
| GetModifierPreAttack
 
|-
 
|-
| ACT_DOTA_RELAX_END
+
| MODIFIER_PROPERTY_INVISIBILITY_LEVEL
| 1610
+
| 8
|  
+
| GetModifierInvisibilityLevel
 
|-
 
|-
| ACT_DOTA_CENTAUR_STAMPEDE
+
| MODIFIER_PROPERTY_PERSISTENT_INVISIBILITY
| 1611
+
| 9
|  
+
| GetModifierPersistentInvisibility
 
|-
 
|-
| ACT_DOTA_BELLYACHE_START
+
| MODIFIER_PROPERTY_MOVESPEED_BONUS_CONSTANT
| 1612
+
| 10
|  
+
| GetModifierMoveSpeedBonus_Constant
 
|-
 
|-
| ACT_DOTA_BELLYACHE_LOOP
+
| MODIFIER_PROPERTY_MOVESPEED_BASE_OVERRIDE
| 1613
+
| 11
|  
+
| GetModifierMoveSpeedOverride
 
|-
 
|-
| ACT_DOTA_BELLYACHE_END
+
| MODIFIER_PROPERTY_MOVESPEED_BONUS_PERCENTAGE
| 1614
+
| 12
|  
+
| GetModifierMoveSpeedBonus_Percentage
 
|-
 
|-
| ACT_DOTA_ROQUELAIRE_LAND
+
| MODIFIER_PROPERTY_MOVESPEED_BONUS_PERCENTAGE_UNIQUE
| 1615
+
| 13
|  
+
| GetModifierMoveSpeedBonus_Percentage_Unique
 
|-
 
|-
| ACT_DOTA_ROQUELAIRE_LAND_IDLE
+
| MODIFIER_PROPERTY_MOVESPEED_BONUS_UNIQUE
| 1616
+
| 14
|  
+
| GetModifierMoveSpeedBonus_Special_Boots
 
|-
 
|-
| ACT_DOTA_GREEVIL_CAST
+
| MODIFIER_PROPERTY_MOVESPEED_ABSOLUTE
| 1617
+
| 15
|  
+
| GetModifierMoveSpeed_Absolute
 
|-
 
|-
| ACT_DOTA_GREEVIL_OVERRIDE_ABILITY
+
| MODIFIER_PROPERTY_MOVESPEED_ABSOLUTE_MIN
| 1618
+
| 16
|  
+
| GetModifierMoveSpeed_AbsoluteMin
 
|-
 
|-
| ACT_DOTA_GREEVIL_HOOK_START
+
| MODIFIER_PROPERTY_MOVESPEED_LIMIT
| 1619
+
| 17
|  
+
| GetModifierMoveSpeed_Limit
 
|-
 
|-
| ACT_DOTA_GREEVIL_HOOK_END
+
| MODIFIER_PROPERTY_MOVESPEED_MAX
| 1620
+
| 18
|  
+
| GetModifierMoveSpeed_Max
 
|-
 
|-
| ACT_DOTA_GREEVIL_BLINK_BONE
+
| MODIFIER_PROPERTY_ATTACKSPEED_BONUS_CONSTANT
| 1621
+
| 19
|  
+
| GetModifierAttackSpeedBonus_Constant
 
|-
 
|-
| ACT_DOTA_IDLE_SLEEPING
+
| MODIFIER_PROPERTY_ATTACKSPEED_BONUS_CONSTANT_POWER_TREADS
| 1622
+
| 20
|  
+
| GetModifierAttackSpeedBonus_Constant_PowerTreads
 
|-
 
|-
| ACT_DOTA_INTRO
+
| MODIFIER_PROPERTY_ATTACKSPEED_BONUS_CONSTANT_SECONDARY
| 1623
+
| 21
|  
+
| GetModifierAttackSpeedBonus_Constant_Secondary
 
|-
 
|-
| ACT_DOTA_GESTURE_POINT
+
| MODIFIER_PROPERTY_COOLDOWN_REDUCTION_CONSTANT
| 1624
+
| 22
|  
+
| GetModifierCooldownReduction_Constant
 
|-
 
|-
| ACT_DOTA_GESTURE_ACCENT
+
| MODIFIER_PROPERTY_BASE_ATTACK_TIME_CONSTANT
| 1625
+
| 23
|  
+
| GetModifierBaseAttackTimeConstant
 
|-
 
|-
| ACT_DOTA_SLEEPING_END
+
| MODIFIER_PROPERTY_ATTACK_POINT_CONSTANT
| 1626
+
| 24
|  
+
| GetModifierAttackPointConstant
 
|-
 
|-
| ACT_DOTA_AMBUSH
+
| MODIFIER_PROPERTY_DAMAGEOUTGOING_PERCENTAGE
| 1627
+
| 25
|  
+
| GetModifierDamageOutgoing_Percentage
 
|-
 
|-
| ACT_DOTA_ITEM_LOOK
+
| MODIFIER_PROPERTY_DAMAGEOUTGOING_PERCENTAGE_ILLUSION
| 1628
+
| 26
|  
+
| GetModifierDamageOutgoing_Percentage_Illusion
 
|-
 
|-
| ACT_DOTA_STARTLE
+
| MODIFIER_PROPERTY_TOTALDAMAGEOUTGOING_PERCENTAGE
| 1629
+
| 27
|  
+
| GetModifierTotalDamageOutgoing_Percentage
 
|-
 
|-
| ACT_DOTA_FRUSTRATION
+
| MODIFIER_PROPERTY_BASEDAMAGEOUTGOING_PERCENTAGE
| 1630
+
| 28
|  
+
| GetModifierBaseDamageOutgoing_Percentage
 
|-
 
|-
| ACT_DOTA_TELEPORT_REACT
+
| MODIFIER_PROPERTY_BASEDAMAGEOUTGOING_PERCENTAGE_UNIQUE
| 1631
+
| 29
|  
+
| GetModifierBaseDamageOutgoing_PercentageUnique
 
|-
 
|-
| ACT_DOTA_TELEPORT_END_REACT
+
| MODIFIER_PROPERTY_INCOMING_DAMAGE_PERCENTAGE
| 1632
+
| 30
|  
+
| GetModifierIncomingDamage_Percentage
 
|-
 
|-
| ACT_DOTA_SHRUG
+
| MODIFIER_PROPERTY_INCOMING_PHYSICAL_DAMAGE_PERCENTAGE
| 1633
+
| 31
|  
+
| GetModifierIncomingPhysicalDamage_Percentage
 
|-
 
|-
| ACT_DOTA_RELAX_LOOP_END
+
| MODIFIER_PROPERTY_INCOMING_SPELL_DAMAGE_CONSTANT
| 1634
+
| 32
|  
+
| GetModifierIncomingSpellDamageConstant
 
|-
 
|-
| ACT_DOTA_PRESENT_ITEM
+
| MODIFIER_PROPERTY_EVASION_CONSTANT
| 1635
+
| 33
|  
+
| GetModifierEvasion_Constant
 
|-
 
|-
| ACT_DOTA_IDLE_IMPATIENT
+
| MODIFIER_PROPERTY_AVOID_DAMAGE
| 1636
+
| 34
|  
+
| GetModifierAvoidDamage
 
|-
 
|-
| ACT_DOTA_SHARPEN_WEAPON
+
| MODIFIER_PROPERTY_AVOID_SPELL
| 1637
+
| 35
|  
+
| GetModifierAvoidSpell
 
|-
 
|-
| ACT_DOTA_SHARPEN_WEAPON_OUT
+
| MODIFIER_PROPERTY_MISS_PERCENTAGE
| 1638
+
| 36
|  
+
| GetModifierMiss_Percentage
 
|-
 
|-
| ACT_DOTA_IDLE_SLEEPING_END
+
| MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS
| 1639
+
| 37
|  
+
| GetModifierPhysicalArmorBonus
 
|-
 
|-
| ACT_DOTA_BRIDGE_DESTROY
+
| MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS_ILLUSIONS
| 1640
+
| 38
|  
+
| GetModifierPhysicalArmorBonusIllusions
 
|-
 
|-
| ACT_DOTA_TAUNT_SNIPER
+
| MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS_UNIQUE
| 1641
+
| 39
|  
+
| GetModifierPhysicalArmorBonusUnique
 
|-
 
|-
| ACT_DOTA_DEATH_BY_SNIPER
+
| MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS_UNIQUE_ACTIVE
| 1642
+
| 40
|  
+
| GetModifierPhysicalArmorBonusUniqueActive
 
|-
 
|-
| ACT_DOTA_LOOK_AROUND
+
| MODIFIER_PROPERTY_MAGICAL_RESISTANCE_BONUS
| 1643
+
| 41
|  
+
| GetModifierMagicalResistanceBonus
 
|-
 
|-
| ACT_DOTA_CAGED_CREEP_RAGE
+
| MODIFIER_PROPERTY_MAGICAL_RESISTANCE_ITEM_UNIQUE
| 1644
+
| 42
|  
+
| GetModifierMagicalResistanceItemUnique
 
|-
 
|-
| ACT_DOTA_CAGED_CREEP_RAGE_OUT
+
| MODIFIER_PROPERTY_MAGICAL_RESISTANCE_DECREPIFY_UNIQUE
| 1645
+
| 43
|  
+
| GetModifierMagicalResistanceDecrepifyUnique
 
|-
 
|-
| ACT_DOTA_CAGED_CREEP_SMASH
+
| MODIFIER_PROPERTY_BASE_MANA_REGEN
| 1646
+
| 44
|  
+
| GetModifierBaseRegen
 
|-
 
|-
| ACT_DOTA_CAGED_CREEP_SMASH_OUT
+
| MODIFIER_PROPERTY_MANA_REGEN_CONSTANT
| 1647
+
| 45
|  
+
| GetModifierConstantManaRegen
 
|-
 
|-
| ACT_DOTA_IDLE_IMPATIENT_SWORD_TAP
+
| MODIFIER_PROPERTY_MANA_REGEN_CONSTANT_UNIQUE
| 1648
+
| 46
|  
+
| GetModifierConstantManaRegenUnique
 
|-
 
|-
| ACT_DOTA_INTRO_LOOP
+
| MODIFIER_PROPERTY_MANA_REGEN_PERCENTAGE
| 1649
+
| 47
|  
+
| GetModifierPercentageManaRegen
 
|-
 
|-
| ACT_DOTA_BRIDGE_THREAT
+
| MODIFIER_PROPERTY_MANA_REGEN_TOTAL_PERCENTAGE
| 1650
+
| 48
|  
+
| GetModifierTotalPercentageManaRegen
 
|-
 
|-
| ACT_DOTA_DAGON
+
| MODIFIER_PROPERTY_HEALTH_REGEN_CONSTANT
| 1651
+
| 49
|  
+
| GetModifierConstantHealthRegen
 
|-
 
|-
| ACT_DOTA_CAST_ABILITY_2_ES_ROLL_START
+
| MODIFIER_PROPERTY_HEALTH_REGEN_PERCENTAGE
| 1652
+
| 50
|  
+
| GetModifierHealthRegenPercentage
 
|-
 
|-
| ACT_DOTA_CAST_ABILITY_2_ES_ROLL
+
| MODIFIER_PROPERTY_HEALTH_BONUS
| 1653
+
| 51
|  
+
| GetModifierHealthBonus
 
|-
 
|-
| ACT_DOTA_CAST_ABILITY_2_ES_ROLL_END
+
| MODIFIER_PROPERTY_MANA_BONUS
| 1654
+
| 52
|  
+
| GetModifierManaBonus
 
|-
 
|-
| ACT_DOTA_NIAN_PIN_START
+
| MODIFIER_PROPERTY_EXTRA_STRENGTH_BONUS
| 1655
+
| 53
|  
+
| GetModifierExtraStrengthBonus
 
|-
 
|-
| ACT_DOTA_NIAN_PIN_LOOP
+
| MODIFIER_PROPERTY_EXTRA_HEALTH_BONUS
| 1656
+
| 54
|  
+
| GetModifierExtraHealthBonus
 
|-
 
|-
| ACT_DOTA_NIAN_PIN_END
+
| MODIFIER_PROPERTY_EXTRA_MANA_BONUS
| 1657
+
| 55
|  
+
| GetModifierExtraManaBonus
 
|-
 
|-
| ACT_DOTA_LEAP_STUN
+
| MODIFIER_PROPERTY_EXTRA_HEALTH_PERCENTAGE
| 1658
+
| 56
|  
+
| GetModifierExtraHealthPercentage
 
|-
 
|-
| ACT_DOTA_LEAP_SWIPE
+
| MODIFIER_PROPERTY_STATS_STRENGTH_BONUS
| 1659
+
| 57
|  
+
| GetModifierBonusStats_Strength
 
|-
 
|-
| ACT_DOTA_NIAN_INTRO_LEAP
+
| MODIFIER_PROPERTY_STATS_AGILITY_BONUS
| 1660
+
| 58
|  
+
| GetModifierBonusStats_Agility
 
|-
 
|-
| ACT_DOTA_AREA_DENY
+
| MODIFIER_PROPERTY_STATS_INTELLECT_BONUS
| 1661
+
| 59
|  
+
| GetModifierBonusStats_Intellect
 
|-
 
|-
| ACT_DOTA_NIAN_PIN_TO_STUN
+
| MODIFIER_PROPERTY_ATTACK_RANGE_BONUS
| 1662
+
| 60
|  
+
| GetModifierAttackRangeBonus
 
|-
 
|-
| ACT_DOTA_RAZE_1
+
| MODIFIER_PROPERTY_PROJECTILE_SPEED_BONUS
| 1663
+
| 61
|  
+
| GetModifierProjectileSpeedBonus
 
|-
 
|-
| ACT_DOTA_RAZE_2
+
| MODIFIER_PROPERTY_REINCARNATION
| 1664
+
| 62
|  
+
| ReincarnateTime
 
|-
 
|-
| ACT_DOTA_RAZE_3
+
| MODIFIER_PROPERTY_RESPAWNTIME
| 1665
+
| 63
|  
+
| GetModifierConstantRespawnTime
 
|-
 
|-
| ACT_DOTA_UNDYING_DECAY
+
| MODIFIER_PROPERTY_RESPAWNTIME_PERCENTAGE
| 1666
+
| 64
|  
+
| GetModifierPercentageRespawnTime
 
|-
 
|-
| ACT_DOTA_UNDYING_SOUL_RIP
+
| MODIFIER_PROPERTY_RESPAWNTIME_STACKING
| 1667
+
| 65
|  
+
| GetModifierStackingRespawnTime
 
|-
 
|-
| ACT_DOTA_UNDYING_TOMBSTONE
+
| MODIFIER_PROPERTY_COOLDOWN_PERCENTAGE
| 1668
+
| 66
|  
+
| GetModifierPercentageCooldown
 
|-
 
|-
| ACT_DOTA_WHIRLING_AXES_RANGED
+
| MODIFIER_PROPERTY_CASTTIME_PERCENTAGE
| 1669
+
| 67
|  
+
| GetModifierPercentageCasttime
 
|-
 
|-
| ACT_DOTA_SHALLOW_GRAVE
+
| MODIFIER_PROPERTY_MANACOST_PERCENTAGE
| 1670
+
| 68
|  
+
| GetModifierPercentageManacost
 
|-
 
|-
| ACT_DOTA_COLD_FEET
+
| MODIFIER_PROPERTY_DEATHGOLDCOST
| 1671
+
| 69
|  
+
| GetModifierConstantDeathGoldCost
 
|-
 
|-
| ACT_DOTA_ICE_VORTEX
+
| MODIFIER_PROPERTY_PREATTACK_CRITICALSTRIKE
| 1672
+
| 70
|  
+
| GetModifierPreAttack_CriticalStrike
 
|-
 
|-
| ACT_DOTA_CHILLING_TOUCH
+
| MODIFIER_PROPERTY_PHYSICAL_CONSTANT_BLOCK
| 1673
+
| 71
|  
+
| GetModifierPhysical_ConstantBlock
 
|-
 
|-
| ACT_DOTA_ENFEEBLE
+
| MODIFIER_PROPERTY_TOTAL_CONSTANT_BLOCK_UNAVOIDABLE_PRE_ARMOR
| 1674
+
| 72
|  
+
| GetModifierPhysical_ConstantBlockUnavoidablePreArmor
 
|-
 
|-
| ACT_DOTA_FATAL_BONDS
+
| MODIFIER_PROPERTY_TOTAL_CONSTANT_BLOCK
| 1675
+
| 73
|  
+
| GetModifierTotal_ConstantBlock
 
|-
 
|-
| ACT_DOTA_MIDNIGHT_PULSE
+
| MODIFIER_PROPERTY_OVERRIDE_ANIMATION
| 1676
+
| 74
|  
+
| GetOverrideAnimation
 
|-
 
|-
| ACT_DOTA_ANCESTRAL_SPIRIT
+
| MODIFIER_PROPERTY_OVERRIDE_ANIMATION_WEIGHT
| 1677
+
| 75
|  
+
| GetOverrideAnimationWeight
 
|-
 
|-
| ACT_DOTA_THUNDER_STRIKE
+
| MODIFIER_PROPERTY_OVERRIDE_ANIMATION_RATE
| 1678
+
| 76
|  
+
| GetOverrideAnimationRate
 
|-
 
|-
| ACT_DOTA_KINETIC_FIELD
+
| MODIFIER_PROPERTY_ABSORB_SPELL
| 1679
+
| 77
|  
+
| GetAbsorbSpell
 
|-
 
|-
| ACT_DOTA_STATIC_STORM
+
| MODIFIER_PROPERTY_REFLECT_SPELL
| 1680
+
| 78
|  
+
| GetReflectSpell
 
|-
 
|-
| ACT_DOTA_MINI_TAUNT
+
| MODIFIER_PROPERTY_DISABLE_AUTOATTACK
| 1681
+
| 79
|  
+
| GetDisableAutoAttack
 
|-
 
|-
| ACT_DOTA_ARCTIC_BURN_END
+
| MODIFIER_PROPERTY_BONUS_DAY_VISION
| 1682
+
| 80
|  
+
| GetBonusDayVision
 
|-
 
|-
| ACT_DOTA_LOADOUT_RARE
+
| MODIFIER_PROPERTY_BONUS_NIGHT_VISION
| 1683
+
| 81
|  
+
| GetBonusNightVision
 
|-
 
|-
| ACT_DOTA_SWIM
+
| MODIFIER_PROPERTY_BONUS_NIGHT_VISION_UNIQUE
| 1684
+
| 82
|  
+
| GetBonusNightVisionUnique
 
|-
 
|-
| ACT_DOTA_FLEE
+
| MODIFIER_PROPERTY_BONUS_VISION_PERCENTAGE
| 1685
+
| 83
|  
+
| GetBonusVisionPercentage
 
|-
 
|-
| ACT_DOTA_TROT
+
| MODIFIER_PROPERTY_FIXED_DAY_VISION
| 1686
+
| 84
|  
+
| GetFixedDayVision
 
|-
 
|-
| ACT_DOTA_SHAKE
+
| MODIFIER_PROPERTY_FIXED_NIGHT_VISION
| 1687
+
| 85
|  
+
| GetFixedNightVision
 
|-
 
|-
| ACT_DOTA_SWIM_IDLE
+
| MODIFIER_PROPERTY_MIN_HEALTH
| 1688
+
| 86
|  
+
| GetMinHealth
 
|-
 
|-
| ACT_DOTA_WAIT_IDLE
+
| MODIFIER_PROPERTY_ABSOLUTE_NO_DAMAGE_PHYSICAL
| 1689
+
| 87
|  
+
| GetAbsoluteNoDamagePhysical
 
|-
 
|-
| ACT_DOTA_GREET
+
| MODIFIER_PROPERTY_ABSOLUTE_NO_DAMAGE_MAGICAL
| 1690
+
| 88
|  
+
| GetAbsoluteNoDamageMagical
 
|-
 
|-
| ACT_DOTA_TELEPORT_COOP_START
+
| MODIFIER_PROPERTY_ABSOLUTE_NO_DAMAGE_PURE
| 1691
+
| 89
|  
+
| GetAbsoluteNoDamagePure
 
|-
 
|-
| ACT_DOTA_TELEPORT_COOP_WAIT
+
| MODIFIER_PROPERTY_IS_ILLUSION
| 1692
+
| 90
|  
+
| GetIsIllusion
 
|-
 
|-
| ACT_DOTA_TELEPORT_COOP_END
+
| MODIFIER_PROPERTY_ILLUSION_LABEL
| 1693
+
| 91
|  
+
| GetModifierIllusionLabel
 
|-
 
|-
| ACT_DOTA_TELEPORT_COOP_EXIT
+
| MODIFIER_PROPERTY_SUPER_ILLUSION
| 1694
+
| 92
|  
+
| GetModifierSuperIllusion
 
|-
 
|-
| ACT_DOTA_SHOPKEEPER_PET_INTERACT
+
| MODIFIER_PROPERTY_TURN_RATE_PERCENTAGE
| 1695
+
| 93
|  
+
| GetModifierTurnRate_Percentage
 
|-
 
|-
| ACT_DOTA_ITEM_PICKUP
+
| MODIFIER_PROPERTY_DISABLE_HEALING
| 1696
+
| 94
|  
+
| GetDisableHealing
 
|-
 
|-
| ACT_DOTA_ITEM_DROP
+
| MODIFIER_PROPERTY_OVERRIDE_ATTACK_MAGICAL
| 1697
+
| 95
|  
+
| GetOverrideAttackMagical
 
|-
 
|-
| ACT_DOTA_CAPTURE_PET
+
| MODIFIER_PROPERTY_UNIT_STATS_NEEDS_REFRESH
| 1698
+
| 96
|  
+
| GetModifierUnitStatsNeedsRefresh
 
|-
 
|-
| ACT_DOTA_PET_WARD_OBSERVER
+
| MODIFIER_PROPERTY_BOUNTY_CREEP_MULTIPLIER
| 1699
+
| 97
|  
+
| GetModifierBountyCreepMultiplier
 
|-
 
|-
| ACT_DOTA_PET_WARD_SENTRY
+
| MODIFIER_PROPERTY_BOUNTY_OTHER_MULTIPLIER
| 1700
+
| 98
|  
+
| GetModifierBountyOtherMultiplier
 
|-
 
|-
| ACT_DOTA_PET_LEVEL
+
| MODIFIER_EVENT_ON_ATTACK_RECORD
| 1701
+
| 99
|  
+
| OnAttackRecord
 
|-
 
|-
| ACT_DOTA_CAST_BURROW_END
+
| MODIFIER_EVENT_ON_ATTACK_START
| 1702
+
| 100
|  
+
| OnAttackStart
 
|-
 
|-
| ACT_DOTA_LIFESTEALER_ASSIMILATE
+
| MODIFIER_EVENT_ON_ATTACK
| 1703
+
| 101
|  
+
| OnAttack
 
|-
 
|-
| ACT_DOTA_LIFESTEALER_EJECT
+
| MODIFIER_EVENT_ON_ATTACK_LANDED
| 1704
+
| 102
|  
+
| OnAttackLanded
|}
 
 
 
==== LuaModifierType ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| LUA_MODIFIER_MOTION_NONE
+
| MODIFIER_EVENT_ON_ATTACK_FAIL
| 0
+
| 103
|  
+
| OnAttackFail
 
|-
 
|-
| LUA_MODIFIER_MOTION_HORIZONTAL
+
| MODIFIER_EVENT_ON_ATTACK_ALLIED
| 1
+
| 104
|  
+
| OnAttackAllied
 
|-
 
|-
| LUA_MODIFIER_MOTION_VERTICAL
+
| MODIFIER_EVENT_ON_PROJECTILE_DODGE
| 2
+
| 105
|  
+
| OnProjectileDodge
 
|-
 
|-
| LUA_MODIFIER_MOTION_BOTH
+
| MODIFIER_EVENT_ON_ORDER
| 3
+
| 106
|  
+
| OnOrder
 
|-
 
|-
| LUA_MODIFIER_INVALID
+
| MODIFIER_EVENT_ON_UNIT_MOVED
| 4
+
| 107
|  
+
| OnUnitMoved
|}
 
 
 
==== ParticleAttachment_t ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| PATTACH_INVALID
+
| MODIFIER_EVENT_ON_ABILITY_START
| -1
+
| 108
|  
+
| OnAbilityStart
 
|-
 
|-
| PATTACH_ABSORIGIN
+
| MODIFIER_EVENT_ON_ABILITY_EXECUTED
| 0
+
| 109
|  
+
| OnAbilityExecuted
 
|-
 
|-
| PATTACH_ABSORIGIN_FOLLOW
+
| MODIFIER_EVENT_ON_ABILITY_FULLY_CAST
| 1
+
| 110
|  
+
| OnAbilityFullyCast
 
|-
 
|-
| PATTACH_CUSTOMORIGIN
+
| MODIFIER_EVENT_ON_BREAK_INVISIBILITY
| 2
+
| 111
|  
+
| OnBreakInvisibility
 
|-
 
|-
| PATTACH_CUSTOMORIGIN_FOLLOW
+
| MODIFIER_EVENT_ON_ABILITY_END_CHANNEL
| 3
+
| 112
|  
+
| OnAbilityEndChannel
 
|-
 
|-
| PATTACH_POINT
+
| MODIFIER_EVENT_ON_PROCESS_UPGRADE
| 4
+
| 113
 
|  
 
|  
 
|-
 
|-
| PATTACH_POINT_FOLLOW
+
| MODIFIER_EVENT_ON_REFRESH
| 5
+
| 114
 
|  
 
|  
 
|-
 
|-
| PATTACH_EYES_FOLLOW
+
| MODIFIER_EVENT_ON_TAKEDAMAGE
| 6
+
| 115
|  
+
| OnTakeDamage
 
|-
 
|-
| PATTACH_OVERHEAD_FOLLOW
+
| MODIFIER_EVENT_ON_STATE_CHANGED
| 7
+
| 116
|  
+
| OnStateChanged
 
|-
 
|-
| PATTACH_WORLDORIGIN
+
| MODIFIER_EVENT_ON_ORB_EFFECT
| 8
+
| 117
 
|  
 
|  
 
|-
 
|-
| PATTACH_ROOTBONE_FOLLOW
+
| MODIFIER_EVENT_ON_ATTACKED
| 9
+
| 118
|  
+
| OnAttacked
 
|-
 
|-
| PATTACH_RENDERORIGIN_FOLLOW
+
| MODIFIER_EVENT_ON_DEATH
| 10
+
| 119
|  
+
| OnDeath
 
|-
 
|-
| PATTACH_MAIN_VIEW
+
| MODIFIER_EVENT_ON_RESPAWN
| 11
+
| 120
|  
+
| OnRespawn
 
|-
 
|-
| PATTACH_WATERWAKE
+
| MODIFIER_EVENT_ON_SPENT_MANA
| 12
+
| 121
|  
+
| OnSpentMana
 
|-
 
|-
| MAX_PATTACH_TYPES
+
| MODIFIER_EVENT_ON_TELEPORTING
| 13
+
| 122
|  
+
| OnTeleporting
|}
 
 
 
==== UnitFilterResult ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| UF_SUCCESS
+
| MODIFIER_EVENT_ON_TELEPORTED
| 0
+
| 123
|  
+
| OnTeleported
 
|-
 
|-
| UF_FAIL_FRIENDLY
+
| MODIFIER_EVENT_ON_SET_LOCATION
| 1
+
| 124
|  
+
| OnSetLocation
 
|-
 
|-
| UF_FAIL_ENEMY
+
| MODIFIER_EVENT_ON_HEALTH_GAINED
| 2
+
| 125
|  
+
| OnHealthGained
 
|-
 
|-
| UF_FAIL_HERO
+
| MODIFIER_EVENT_ON_MANA_GAINED
| 3
+
| 126
|  
+
| OnManaGained
 
|-
 
|-
| UF_FAIL_CONSIDERED_HERO
+
| MODIFIER_EVENT_ON_TAKEDAMAGE_KILLCREDIT
| 4
+
| 127
|  
+
| OnTakeDamageKillCredit
 
|-
 
|-
| UF_FAIL_CREEP
+
| MODIFIER_EVENT_ON_HERO_KILLED
| 5
+
| 128
|  
+
| OnHeroKilled
 
|-
 
|-
| UF_FAIL_BUILDING
+
| MODIFIER_EVENT_ON_HEAL_RECEIVED
| 6
+
| 129
|  
+
| OnHealReceived
 
|-
 
|-
| UF_FAIL_MECHANICAL
+
| MODIFIER_EVENT_ON_BUILDING_KILLED
| 7
+
| 130
|  
+
| OnBuildingKilled
 
|-
 
|-
| UF_FAIL_COURIER
+
| MODIFIER_EVENT_ON_MODEL_CHANGED
| 8
+
| 131
|  
+
| OnModelChanged
 
|-
 
|-
| UF_FAIL_OTHER
+
| MODIFIER_PROPERTY_TOOLTIP
| 9
+
| 132
|  
+
| OnTooltip
 
|-
 
|-
| UF_FAIL_ANCIENT
+
| MODIFIER_PROPERTY_MODEL_CHANGE
| 10
+
| 133
|  
+
| GetModifierModelChange
 
|-
 
|-
| UF_FAIL_ILLUSION
+
| MODIFIER_PROPERTY_MODEL_SCALE
| 11
+
| 134
|  
+
| GetModifierModelScale
 
|-
 
|-
| UF_FAIL_SUMMONED
+
| MODIFIER_PROPERTY_IS_SCEPTER
| 12
+
| 135
|  
+
| GetModifierScepter
 
|-
 
|-
| UF_FAIL_DOMINATED
+
| MODIFIER_PROPERTY_TRANSLATE_ACTIVITY_MODIFIERS
| 13
+
| 136
|  
+
| GetActivityTranslationModifiers
 
|-
 
|-
| UF_FAIL_MELEE
+
| MODIFIER_PROPERTY_TRANSLATE_ATTACK_SOUND
| 14
+
| 137
|  
+
| GetAttackSound
 
|-
 
|-
| UF_FAIL_RANGED
+
| MODIFIER_PROPERTY_LIFETIME_FRACTION
| 15
+
| 138
|  
+
| GetUnitLifetimeFraction
 
|-
 
|-
| UF_FAIL_DEAD
+
| MODIFIER_PROPERTY_PROVIDES_FOW_POSITION
| 16
+
| 139
|  
+
| GetModifierProvidesFOWVision
 
|-
 
|-
| UF_FAIL_MAGIC_IMMUNE_ALLY
+
| MODIFIER_PROPERTY_SPELLS_REQUIRE_HP
| 17
+
| 140
|  
+
| GetModifierSpellsRequireHP
 
|-
 
|-
| UF_FAIL_MAGIC_IMMUNE_ENEMY
+
| MODIFIER_PROPERTY_FORCE_DRAW_MINIMAP
| 18
+
| 141
|  
+
| GetForceDrawOnMinimap
 
|-
 
|-
| UF_FAIL_INVULNERABLE
+
| MODIFIER_PROPERTY_DISABLE_TURNING
| 19
+
| 142
|  
+
| GetModifierDisableTurning
 
|-
 
|-
| UF_FAIL_IN_FOW
+
| MODIFIER_PROPERTY_IGNORE_CAST_ANGLE
| 20
+
| 143
|  
+
| GetModifierIgnoreCastAngle
 
|-
 
|-
| UF_FAIL_INVISIBLE
+
| MODIFIER_PROPERTY_CHANGE_ABILITY_VALUE
| 21
+
| 144
|  
+
| GetModifierChangeAbilityValue
 
|-
 
|-
| UF_FAIL_NOT_PLAYER_CONTROLLED
+
| MODIFIER_PROPERTY_ABILITY_LAYOUT
| 22
+
| 145
|  
+
| GetModifierAbilityLayout
 
|-
 
|-
| UF_FAIL_ATTACK_IMMUNE
+
| MODIFIER_EVENT_ON_DOMINATED
| 23
+
| 146
|  
+
| OnDominated
 
|-
 
|-
| UF_FAIL_CUSTOM
+
| MODIFIER_FUNCTION_LAST
| 24
+
| 147
 
|  
 
|  
 
|-
 
|-
| UF_FAIL_INVALID_LOCATION
+
| MODIFIER_FUNCTION_INVALID
| 25
+
| 255
|
 
|-
 
| UF_FAIL_DISABLE_HELP
 
| 26
 
|
 
|-
 
| UF_FAIL_OUT_OF_WORLD
 
| 27
 
|
 
|-
 
| UF_FAIL_NIGHTMARED
 
| 28
 
 
|  
 
|  
 
|}
 
|}
  
==== modifierfunction ====
+
==== modifierstate ====
 
{| class="standard-table" style="width: 50%;"
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Name
Line 8,947: Line 8,910:
 
! Description
 
! Description
 
|-
 
|-
| MODIFIER_PROPERTY_PREATTACK_BONUS_DAMAGE
+
| MODIFIER_STATE_ROOTED
 
| 0
 
| 0
| GetModifierPreAttack_BonusDamage
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_PREATTACK_BONUS_DAMAGE_POST_CRIT
+
| MODIFIER_STATE_DISARMED
 
| 1
 
| 1
| GetModifierPreAttack_BonusDamagePostCrit
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_BASEATTACK_BONUSDAMAGE
+
| MODIFIER_STATE_ATTACK_IMMUNE
 
| 2
 
| 2
| GetModifierBaseAttack_BonusDamage
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_PROCATTACK_BONUS_DAMAGE_PHYSICAL
+
| MODIFIER_STATE_SILENCED
 
| 3
 
| 3
| GetModifierProcAttack_BonusDamage_Physical
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_PROCATTACK_BONUS_DAMAGE_MAGICAL
+
| MODIFIER_STATE_MUTED
 
| 4
 
| 4
| GetModifierProcAttack_BonusDamage_Magical
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_PROCATTACK_BONUS_DAMAGE_PURE
+
| MODIFIER_STATE_STUNNED
 
| 5
 
| 5
| GetModifierProcAttack_BonusDamage_Pure
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_PROCATTACK_FEEDBACK
+
| MODIFIER_STATE_HEXED
 
| 6
 
| 6
| GetModifierProcAttack_Feedback
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_PRE_ATTACK
+
| MODIFIER_STATE_INVISIBLE
 
| 7
 
| 7
| GetModifierPreAttack
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_INVISIBILITY_LEVEL
+
| MODIFIER_STATE_INVULNERABLE
 
| 8
 
| 8
| GetModifierInvisibilityLevel
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_PERSISTENT_INVISIBILITY
+
| MODIFIER_STATE_MAGIC_IMMUNE
 
| 9
 
| 9
| GetModifierPersistentInvisibility
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MOVESPEED_BONUS_CONSTANT
+
| MODIFIER_STATE_PROVIDES_VISION
 
| 10
 
| 10
| GetModifierMoveSpeedBonus_Constant
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MOVESPEED_BASE_OVERRIDE
+
| MODIFIER_STATE_NIGHTMARED
 
| 11
 
| 11
| GetModifierMoveSpeedOverride
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MOVESPEED_BONUS_PERCENTAGE
+
| MODIFIER_STATE_BLOCK_DISABLED
 
| 12
 
| 12
| GetModifierMoveSpeedBonus_Percentage
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MOVESPEED_BONUS_PERCENTAGE_UNIQUE
+
| MODIFIER_STATE_EVADE_DISABLED
 
| 13
 
| 13
| GetModifierMoveSpeedBonus_Percentage_Unique
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MOVESPEED_BONUS_UNIQUE
+
| MODIFIER_STATE_UNSELECTABLE
 
| 14
 
| 14
| GetModifierMoveSpeedBonus_Special_Boots
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MOVESPEED_ABSOLUTE
+
| MODIFIER_STATE_CANNOT_MISS
 
| 15
 
| 15
| GetModifierMoveSpeed_Absolute
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MOVESPEED_ABSOLUTE_MIN
+
| MODIFIER_STATE_SPECIALLY_DENIABLE
 
| 16
 
| 16
| GetModifierMoveSpeed_AbsoluteMin
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MOVESPEED_LIMIT
+
| MODIFIER_STATE_FROZEN
 
| 17
 
| 17
| GetModifierMoveSpeed_Limit
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MOVESPEED_MAX
+
| MODIFIER_STATE_COMMAND_RESTRICTED
 
| 18
 
| 18
| GetModifierMoveSpeed_Max
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_ATTACKSPEED_BONUS_CONSTANT
+
| MODIFIER_STATE_NOT_ON_MINIMAP
 
| 19
 
| 19
| GetModifierAttackSpeedBonus_Constant
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_ATTACKSPEED_BONUS_CONSTANT_POWER_TREADS
+
| MODIFIER_STATE_NOT_ON_MINIMAP_FOR_ENEMIES
 
| 20
 
| 20
| GetModifierAttackSpeedBonus_Constant_PowerTreads
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_ATTACKSPEED_BONUS_CONSTANT_SECONDARY
+
| MODIFIER_STATE_LOW_ATTACK_PRIORITY
 
| 21
 
| 21
| GetModifierAttackSpeedBonus_Constant_Secondary
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_COOLDOWN_REDUCTION_CONSTANT
+
| MODIFIER_STATE_NO_HEALTH_BAR
 
| 22
 
| 22
| GetModifierCooldownReduction_Constant
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_BASE_ATTACK_TIME_CONSTANT
+
| MODIFIER_STATE_FLYING
 
| 23
 
| 23
| GetModifierBaseAttackTimeConstant
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_ATTACK_POINT_CONSTANT
+
| MODIFIER_STATE_NO_UNIT_COLLISION
 
| 24
 
| 24
| GetModifierAttackPointConstant
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_DAMAGEOUTGOING_PERCENTAGE
+
| MODIFIER_STATE_NO_TEAM_MOVE_TO
 
| 25
 
| 25
| GetModifierDamageOutgoing_Percentage
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_DAMAGEOUTGOING_PERCENTAGE_ILLUSION
+
| MODIFIER_STATE_NO_TEAM_SELECT
 
| 26
 
| 26
| GetModifierDamageOutgoing_Percentage_Illusion
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_TOTALDAMAGEOUTGOING_PERCENTAGE
+
| MODIFIER_STATE_PASSIVES_DISABLED
 
| 27
 
| 27
| GetModifierTotalDamageOutgoing_Percentage
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_BASEDAMAGEOUTGOING_PERCENTAGE
+
| MODIFIER_STATE_DOMINATED
 
| 28
 
| 28
| GetModifierBaseDamageOutgoing_Percentage
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_BASEDAMAGEOUTGOING_PERCENTAGE_UNIQUE
+
| MODIFIER_STATE_BLIND
 
| 29
 
| 29
| GetModifierBaseDamageOutgoing_PercentageUnique
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_INCOMING_DAMAGE_PERCENTAGE
+
| MODIFIER_STATE_OUT_OF_GAME
 
| 30
 
| 30
| GetModifierIncomingDamage_Percentage
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_INCOMING_PHYSICAL_DAMAGE_PERCENTAGE
+
| MODIFIER_STATE_FAKE_ALLY
 
| 31
 
| 31
| GetModifierIncomingPhysicalDamage_Percentage
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_INCOMING_SPELL_DAMAGE_CONSTANT
+
| MODIFIER_STATE_FLYING_FOR_PATHING_PURPOSES_ONLY
 
| 32
 
| 32
| GetModifierIncomingSpellDamageConstant
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_EVASION_CONSTANT
+
| MODIFIER_STATE_TRUESIGHT_IMMUNE
 
| 33
 
| 33
| GetModifierEvasion_Constant
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_AVOID_DAMAGE
+
| MODIFIER_STATE_LAST
 
| 34
 
| 34
| GetModifierAvoidDamage
+
|  
 +
|}
 +
 
 +
==== quest_text_replace_values_t ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| MODIFIER_PROPERTY_AVOID_SPELL
+
| QUEST_TEXT_REPLACE_VALUE_CURRENT_VALUE
| 35
+
| 0
| GetModifierAvoidSpell
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MISS_PERCENTAGE
+
| QUEST_TEXT_REPLACE_VALUE_TARGET_VALUE
| 36
+
| 1
| GetModifierMiss_Percentage
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS
+
| QUEST_TEXT_REPLACE_VALUE_ROUND
| 37
+
| 2
| GetModifierPhysicalArmorBonus
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS_ILLUSIONS
+
| QUEST_TEXT_REPLACE_VALUE_REWARD
| 38
+
| 3
| GetModifierPhysicalArmorBonusIllusions
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS_UNIQUE
+
| QUEST_NUM_TEXT_REPLACE_VALUES
| 39
+
| 4
| GetModifierPhysicalArmorBonusUnique
+
|  
 +
|}
 +
 
 +
==== Find Types ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS_UNIQUE_ACTIVE
+
| FIND_UNITS_EVERYWHERE
| 40
+
| -1
| GetModifierPhysicalArmorBonusUniqueActive
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MAGICAL_RESISTANCE_BONUS
+
| FIND_ANY_ORDER
| 41
+
| 0
| GetModifierMagicalResistanceBonus
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MAGICAL_RESISTANCE_ITEM_UNIQUE
+
| FIND_CLOSEST
| 42
+
| 1
| GetModifierMagicalResistanceItemUnique
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MAGICAL_RESISTANCE_DECREPIFY_UNIQUE
+
| FIND_FARTHEST
| 43
+
| 2
| GetModifierMagicalResistanceDecrepifyUnique
+
|  
 +
|}
 +
 
 +
==== subquest_text_replace_values_t ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| MODIFIER_PROPERTY_BASE_MANA_REGEN
+
| SUBQUEST_TEXT_REPLACE_VALUE_CURRENT_VALUE
| 44
+
| 0
| GetModifierBaseRegen
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MANA_REGEN_CONSTANT
+
| SUBQUEST_TEXT_REPLACE_VALUE_TARGET_VALUE
| 45
+
| 1
| GetModifierConstantManaRegen
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MANA_REGEN_CONSTANT_UNIQUE
+
| SUBQUEST_NUM_TEXT_REPLACE_VALUES
| 46
+
| 2
| GetModifierConstantManaRegenUnique
+
|  
 +
|}
 +
 
 +
==== DOTAScriptInventorySlot_t ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| MODIFIER_PROPERTY_MANA_REGEN_PERCENTAGE
+
| DOTA_ITEM_SLOT_1
| 47
+
| 0
| GetModifierPercentageManaRegen
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MANA_REGEN_TOTAL_PERCENTAGE
+
| DOTA_ITEM_SLOT_2
| 48
+
| 1
| GetModifierTotalPercentageManaRegen
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_HEALTH_REGEN_CONSTANT
+
| DOTA_ITEM_SLOT_3
| 49
+
| 2
| GetModifierConstantHealthRegen
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_HEALTH_REGEN_PERCENTAGE
+
| DOTA_ITEM_SLOT_4
| 50
+
| 3
| GetModifierHealthRegenPercentage
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_HEALTH_BONUS
+
| DOTA_ITEM_SLOT_5
| 51
+
| 4
| GetModifierHealthBonus
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MANA_BONUS
+
| DOTA_ITEM_SLOT_6
| 52
+
| 5
| GetModifierManaBonus
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_EXTRA_STRENGTH_BONUS
+
| DOTA_STASH_SLOT_1
| 53
+
| 6
| GetModifierExtraStrengthBonus
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_EXTRA_HEALTH_BONUS
+
| DOTA_STASH_SLOT_2
| 54
+
| 7
| GetModifierExtraHealthBonus
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_EXTRA_MANA_BONUS
+
| DOTA_STASH_SLOT_3
| 55
+
| 8
| GetModifierExtraManaBonus
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_EXTRA_HEALTH_PERCENTAGE
+
| DOTA_STASH_SLOT_4
| 56
+
| 9
| GetModifierExtraHealthPercentage
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_STATS_STRENGTH_BONUS
+
| DOTA_STASH_SLOT_5
| 57
+
| 10
| GetModifierBonusStats_Strength
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_STATS_AGILITY_BONUS
+
| DOTA_STASH_SLOT_6
| 58
+
| 11
| GetModifierBonusStats_Agility
+
|  
 +
|}
 +
 
 +
==== DOTA_GameState ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| MODIFIER_PROPERTY_STATS_INTELLECT_BONUS
+
| DOTA_GAMERULES_STATE_INIT
| 59
+
| 0
| GetModifierBonusStats_Intellect
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_ATTACK_RANGE_BONUS
+
| DOTA_GAMERULES_STATE_WAIT_FOR_PLAYERS_TO_LOAD
| 60
+
| 1
| GetModifierAttackRangeBonus
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_PROJECTILE_SPEED_BONUS
+
| DOTA_GAMERULES_STATE_CUSTOM_GAME_SETUP
| 61
+
| 2
| GetModifierProjectileSpeedBonus
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_REINCARNATION
+
| DOTA_GAMERULES_STATE_HERO_SELECTION
| 62
+
| 3
| ReincarnateTime
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_RESPAWNTIME
+
| DOTA_GAMERULES_STATE_STRATEGY_TIME
| 63
+
| 4
| GetModifierConstantRespawnTime
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_RESPAWNTIME_PERCENTAGE
+
| DOTA_GAMERULES_STATE_TEAM_SHOWCASE
| 64
+
| 5
| GetModifierPercentageRespawnTime
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_RESPAWNTIME_STACKING
+
| DOTA_GAMERULES_STATE_PRE_GAME
| 65
+
| 6
| GetModifierStackingRespawnTime
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_COOLDOWN_PERCENTAGE
+
| DOTA_GAMERULES_STATE_GAME_IN_PROGRESS
| 66
+
| 7
| GetModifierPercentageCooldown
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_CASTTIME_PERCENTAGE
+
| DOTA_GAMERULES_STATE_POST_GAME
| 67
+
| 8
| GetModifierPercentageCasttime
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MANACOST_PERCENTAGE
+
| DOTA_GAMERULES_STATE_DISCONNECT
| 68
+
| 9
| GetModifierPercentageManacost
+
|  
 +
|}
 +
 
 +
==== GameActivity_t ====
 +
{| class="standard-table" style="width: 50%;"
 +
! Name
 +
! Value
 +
! Description
 
|-
 
|-
| MODIFIER_PROPERTY_DEATHGOLDCOST
+
| ACT_DOTA_IDLE
| 69
+
| 1500
| GetModifierConstantDeathGoldCost
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_PREATTACK_CRITICALSTRIKE
+
| ACT_DOTA_IDLE_RARE
| 70
+
| 1501
| GetModifierPreAttack_CriticalStrike
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_PHYSICAL_CONSTANT_BLOCK
+
| ACT_DOTA_RUN
| 71
+
| 1502
| GetModifierPhysical_ConstantBlock
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_TOTAL_CONSTANT_BLOCK_UNAVOIDABLE_PRE_ARMOR
+
| ACT_DOTA_ATTACK
| 72
+
| 1503
| GetModifierPhysical_ConstantBlockUnavoidablePreArmor
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_TOTAL_CONSTANT_BLOCK
+
| ACT_DOTA_ATTACK2
| 73
+
| 1504
| GetModifierTotal_ConstantBlock
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_OVERRIDE_ANIMATION
+
| ACT_DOTA_ATTACK_EVENT
| 74
+
| 1505
| GetOverrideAnimation
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_OVERRIDE_ANIMATION_WEIGHT
+
| ACT_DOTA_DIE
| 75
+
| 1506
| GetOverrideAnimationWeight
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_OVERRIDE_ANIMATION_RATE
+
| ACT_DOTA_FLINCH
| 76
+
| 1507
| GetOverrideAnimationRate
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_ABSORB_SPELL
+
| ACT_DOTA_FLAIL
| 77
+
| 1508
| GetAbsorbSpell
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_REFLECT_SPELL
+
| ACT_DOTA_DISABLED
| 78
+
| 1509
| GetReflectSpell
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_DISABLE_AUTOATTACK
+
| ACT_DOTA_CAST_ABILITY_1
| 79
+
| 1510
| GetDisableAutoAttack
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_BONUS_DAY_VISION
+
| ACT_DOTA_CAST_ABILITY_2
| 80
+
| 1511
| GetBonusDayVision
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_BONUS_NIGHT_VISION
+
| ACT_DOTA_CAST_ABILITY_3
| 81
+
| 1512
| GetBonusNightVision
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_BONUS_NIGHT_VISION_UNIQUE
+
| ACT_DOTA_CAST_ABILITY_4
| 82
+
| 1513
| GetBonusNightVisionUnique
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_BONUS_VISION_PERCENTAGE
+
| ACT_DOTA_CAST_ABILITY_5
| 83
+
| 1514
| GetBonusVisionPercentage
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_FIXED_DAY_VISION
+
| ACT_DOTA_CAST_ABILITY_6
| 84
+
| 1515
| GetFixedDayVision
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_FIXED_NIGHT_VISION
+
| ACT_DOTA_OVERRIDE_ABILITY_1
| 85
+
| 1516
| GetFixedNightVision
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MIN_HEALTH
+
| ACT_DOTA_OVERRIDE_ABILITY_2
| 86
+
| 1517
| GetMinHealth
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_ABSOLUTE_NO_DAMAGE_PHYSICAL
+
| ACT_DOTA_OVERRIDE_ABILITY_3
| 87
+
| 1518
| GetAbsoluteNoDamagePhysical
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_ABSOLUTE_NO_DAMAGE_MAGICAL
+
| ACT_DOTA_OVERRIDE_ABILITY_4
| 88
+
| 1519
| GetAbsoluteNoDamageMagical
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_ABSOLUTE_NO_DAMAGE_PURE
+
| ACT_DOTA_CHANNEL_ABILITY_1
| 89
+
| 1520
| GetAbsoluteNoDamagePure
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_IS_ILLUSION
+
| ACT_DOTA_CHANNEL_ABILITY_2
| 90
+
| 1521
| GetIsIllusion
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_ILLUSION_LABEL
+
| ACT_DOTA_CHANNEL_ABILITY_3
| 91
+
| 1522
| GetModifierIllusionLabel
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_SUPER_ILLUSION
+
| ACT_DOTA_CHANNEL_ABILITY_4
| 92
+
| 1523
| GetModifierSuperIllusion
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_TURN_RATE_PERCENTAGE
+
| ACT_DOTA_CHANNEL_ABILITY_5
| 93
+
| 1524
| GetModifierTurnRate_Percentage
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_DISABLE_HEALING
+
| ACT_DOTA_CHANNEL_ABILITY_6
| 94
+
| 1525
| GetDisableHealing
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_OVERRIDE_ATTACK_MAGICAL
+
| ACT_DOTA_CHANNEL_END_ABILITY_1
| 95
+
| 1526
| GetOverrideAttackMagical
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_UNIT_STATS_NEEDS_REFRESH
+
| ACT_DOTA_CHANNEL_END_ABILITY_2
| 96
+
| 1527
| GetModifierUnitStatsNeedsRefresh
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_BOUNTY_CREEP_MULTIPLIER
+
| ACT_DOTA_CHANNEL_END_ABILITY_3
| 97
+
| 1528
| GetModifierBountyCreepMultiplier
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_BOUNTY_OTHER_MULTIPLIER
+
| ACT_DOTA_CHANNEL_END_ABILITY_4
| 98
+
| 1529
| GetModifierBountyOtherMultiplier
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_ATTACK_RECORD
+
| ACT_DOTA_CHANNEL_END_ABILITY_5
| 99
+
| 1530
| OnAttackRecord
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_ATTACK_START
+
| ACT_DOTA_CHANNEL_END_ABILITY_6
| 100
+
| 1531
| OnAttackStart
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_ATTACK
+
| ACT_DOTA_CONSTANT_LAYER
| 101
+
| 1532
| OnAttack
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_ATTACK_LANDED
+
| ACT_DOTA_CAPTURE
| 102
+
| 1533
| OnAttackLanded
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_ATTACK_FAIL
+
| ACT_DOTA_SPAWN
| 103
+
| 1534
| OnAttackFail
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_ATTACK_ALLIED
+
| ACT_DOTA_KILLTAUNT
| 104
+
| 1535
| OnAttackAllied
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_PROJECTILE_DODGE
+
| ACT_DOTA_TAUNT
| 105
+
| 1536
| OnProjectileDodge
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_ORDER
+
| ACT_DOTA_THIRST
| 106
+
| 1537
| OnOrder
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_UNIT_MOVED
+
| ACT_DOTA_CAST_DRAGONBREATH
| 107
+
| 1538
| OnUnitMoved
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_ABILITY_START
+
| ACT_DOTA_ECHO_SLAM
| 108
+
| 1539
| OnAbilityStart
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_ABILITY_EXECUTED
+
| ACT_DOTA_CAST_ABILITY_1_END
| 109
+
| 1540
| OnAbilityExecuted
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_ABILITY_FULLY_CAST
+
| ACT_DOTA_CAST_ABILITY_2_END
| 110
+
| 1541
| OnAbilityFullyCast
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_BREAK_INVISIBILITY
+
| ACT_DOTA_CAST_ABILITY_3_END
| 111
+
| 1542
| OnBreakInvisibility
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_ABILITY_END_CHANNEL
+
| ACT_DOTA_CAST_ABILITY_4_END
| 112
+
| 1543
| OnAbilityEndChannel
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_PROCESS_UPGRADE
+
| ACT_MIRANA_LEAP_END
| 113
+
| 1544
 
|  
 
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_REFRESH
+
| ACT_WAVEFORM_START
| 114
+
| 1545
 
|  
 
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_TAKEDAMAGE
+
| ACT_WAVEFORM_END
| 115
+
| 1546
| OnTakeDamage
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_STATE_CHANGED
+
| ACT_DOTA_CAST_ABILITY_ROT
| 116
+
| 1547
| OnStateChanged
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_ORB_EFFECT
+
| ACT_DOTA_DIE_SPECIAL
| 117
+
| 1548
 
|  
 
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_ATTACKED
+
| ACT_DOTA_RATTLETRAP_BATTERYASSAULT
| 118
+
| 1549
| OnAttacked
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_DEATH
+
| ACT_DOTA_RATTLETRAP_POWERCOGS
| 119
+
| 1550
| OnDeath
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_RESPAWN
+
| ACT_DOTA_RATTLETRAP_HOOKSHOT_START
| 120
+
| 1551
| OnRespawn
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_SPENT_MANA
+
| ACT_DOTA_RATTLETRAP_HOOKSHOT_LOOP
| 121
+
| 1552
| OnSpentMana
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_TELEPORTING
+
| ACT_DOTA_RATTLETRAP_HOOKSHOT_END
| 122
+
| 1553
| OnTeleporting
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_TELEPORTED
+
| ACT_STORM_SPIRIT_OVERLOAD_RUN_OVERRIDE
| 123
+
| 1554
| OnTeleported
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_SET_LOCATION
+
| ACT_DOTA_TINKER_REARM1
| 124
+
| 1555
| OnSetLocation
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_HEALTH_GAINED
+
| ACT_DOTA_TINKER_REARM2
| 125
+
| 1556
| OnHealthGained
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_MANA_GAINED
+
| ACT_DOTA_TINKER_REARM3
| 126
+
| 1557
| OnManaGained
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_TAKEDAMAGE_KILLCREDIT
+
| ACT_TINY_AVALANCHE
| 127
+
| 1558
| OnTakeDamageKillCredit
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_HERO_KILLED
+
| ACT_TINY_TOSS
| 128
+
| 1559
| OnHeroKilled
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_HEAL_RECEIVED
+
| ACT_TINY_GROWL
| 129
+
| 1560
| OnHealReceived
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_BUILDING_KILLED
+
| ACT_DOTA_WEAVERBUG_ATTACH
| 130
+
| 1561
| OnBuildingKilled
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_MODEL_CHANGED
+
| ACT_DOTA_CAST_WILD_AXES_END
| 131
+
| 1562
| OnModelChanged
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_TOOLTIP
+
| ACT_DOTA_CAST_LIFE_BREAK_START
| 132
+
| 1563
| OnTooltip
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MODEL_CHANGE
+
| ACT_DOTA_CAST_LIFE_BREAK_END
| 133
+
| 1564
| GetModifierModelChange
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_MODEL_SCALE
+
| ACT_DOTA_NIGHTSTALKER_TRANSITION
| 134
+
| 1565
| GetModifierModelScale
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_IS_SCEPTER
+
| ACT_DOTA_LIFESTEALER_RAGE
| 135
+
| 1566
| GetModifierScepter
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_TRANSLATE_ACTIVITY_MODIFIERS
+
| ACT_DOTA_LIFESTEALER_OPEN_WOUNDS
| 136
+
| 1567
| GetActivityTranslationModifiers
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_TRANSLATE_ATTACK_SOUND
+
| ACT_DOTA_SAND_KING_BURROW_IN
| 137
+
| 1568
| GetAttackSound
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_LIFETIME_FRACTION
+
| ACT_DOTA_SAND_KING_BURROW_OUT
| 138
+
| 1569
| GetUnitLifetimeFraction
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_PROVIDES_FOW_POSITION
+
| ACT_DOTA_EARTHSHAKER_TOTEM_ATTACK
| 139
+
| 1570
| GetModifierProvidesFOWVision
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_SPELLS_REQUIRE_HP
+
| ACT_DOTA_WHEEL_LAYER
| 140
+
| 1571
| GetModifierSpellsRequireHP
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_FORCE_DRAW_MINIMAP
+
| ACT_DOTA_ALCHEMIST_CHEMICAL_RAGE_START
| 141
+
| 1572
| GetForceDrawOnMinimap
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_DISABLE_TURNING
+
| ACT_DOTA_ALCHEMIST_CONCOCTION
| 142
+
| 1573
| GetModifierDisableTurning
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_IGNORE_CAST_ANGLE
+
| ACT_DOTA_JAKIRO_LIQUIDFIRE_START
| 143
+
| 1574
| GetModifierIgnoreCastAngle
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_CHANGE_ABILITY_VALUE
+
| ACT_DOTA_JAKIRO_LIQUIDFIRE_LOOP
| 144
+
| 1575
| GetModifierChangeAbilityValue
+
|  
 
|-
 
|-
| MODIFIER_PROPERTY_ABILITY_LAYOUT
+
| ACT_DOTA_LIFESTEALER_INFEST
| 145
+
| 1576
| GetModifierAbilityLayout
+
|  
 
|-
 
|-
| MODIFIER_EVENT_ON_DOMINATED
+
| ACT_DOTA_LIFESTEALER_INFEST_END
| 146
+
| 1577
| OnDominated
 
|-
 
| MODIFIER_FUNCTION_LAST
 
| 147
 
 
|  
 
|  
 
|-
 
|-
| MODIFIER_FUNCTION_INVALID
+
| ACT_DOTA_LASSO_LOOP
| 255
+
| 1578
 
|  
 
|  
|}
 
 
==== modifierstate ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| MODIFIER_STATE_ROOTED
+
| ACT_DOTA_ALCHEMIST_CONCOCTION_THROW
| 0
+
| 1579
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_DISARMED
+
| ACT_DOTA_ALCHEMIST_CHEMICAL_RAGE_END
| 1
+
| 1580
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_ATTACK_IMMUNE
+
| ACT_DOTA_CAST_COLD_SNAP
| 2
+
| 1581
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_SILENCED
+
| ACT_DOTA_CAST_GHOST_WALK
| 3
+
| 1582
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_MUTED
+
| ACT_DOTA_CAST_TORNADO
| 4
+
| 1583
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_STUNNED
+
| ACT_DOTA_CAST_EMP
| 5
+
| 1584
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_HEXED
+
| ACT_DOTA_CAST_ALACRITY
| 6
+
| 1585
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_INVISIBLE
+
| ACT_DOTA_CAST_CHAOS_METEOR
| 7
+
| 1586
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_INVULNERABLE
+
| ACT_DOTA_CAST_SUN_STRIKE
| 8
+
| 1587
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_MAGIC_IMMUNE
+
| ACT_DOTA_CAST_FORGE_SPIRIT
| 9
+
| 1588
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_PROVIDES_VISION
+
| ACT_DOTA_CAST_ICE_WALL
| 10
+
| 1589
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_NIGHTMARED
+
| ACT_DOTA_CAST_DEAFENING_BLAST
| 11
+
| 1590
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_BLOCK_DISABLED
+
| ACT_DOTA_VICTORY
| 12
+
| 1591
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_EVADE_DISABLED
+
| ACT_DOTA_DEFEAT
| 13
+
| 1592
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_UNSELECTABLE
+
| ACT_DOTA_SPIRIT_BREAKER_CHARGE_POSE
| 14
+
| 1593
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_CANNOT_MISS
+
| ACT_DOTA_SPIRIT_BREAKER_CHARGE_END
| 15
+
| 1594
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_SPECIALLY_DENIABLE
+
| ACT_DOTA_TELEPORT
| 16
+
| 1595
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_FROZEN
+
| ACT_DOTA_TELEPORT_END
| 17
+
| 1596
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_COMMAND_RESTRICTED
+
| ACT_DOTA_CAST_REFRACTION
| 18
+
| 1597
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_NOT_ON_MINIMAP
+
| ACT_DOTA_CAST_ABILITY_7
| 19
+
| 1598
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_NOT_ON_MINIMAP_FOR_ENEMIES
+
| ACT_DOTA_CANCEL_SIREN_SONG
| 20
+
| 1599
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_LOW_ATTACK_PRIORITY
+
| ACT_DOTA_CHANNEL_ABILITY_7
| 21
+
| 1600
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_NO_HEALTH_BAR
+
| ACT_DOTA_LOADOUT
| 22
+
| 1601
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_FLYING
+
| ACT_DOTA_FORCESTAFF_END
| 23
+
| 1602
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_NO_UNIT_COLLISION
+
| ACT_DOTA_POOF_END
| 24
+
| 1603
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_NO_TEAM_MOVE_TO
+
| ACT_DOTA_SLARK_POUNCE
| 25
+
| 1604
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_NO_TEAM_SELECT
+
| ACT_DOTA_MAGNUS_SKEWER_START
| 26
+
| 1605
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_PASSIVES_DISABLED
+
| ACT_DOTA_MAGNUS_SKEWER_END
| 27
+
| 1606
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_DOMINATED
+
| ACT_DOTA_MEDUSA_STONE_GAZE
| 28
+
| 1607
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_BLIND
+
| ACT_DOTA_RELAX_START
| 29
+
| 1608
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_OUT_OF_GAME
+
| ACT_DOTA_RELAX_LOOP
| 30
+
| 1609
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_FAKE_ALLY
+
| ACT_DOTA_RELAX_END
| 31
+
| 1610
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_FLYING_FOR_PATHING_PURPOSES_ONLY
+
| ACT_DOTA_CENTAUR_STAMPEDE
| 32
+
| 1611
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_TRUESIGHT_IMMUNE
+
| ACT_DOTA_BELLYACHE_START
| 33
+
| 1612
 
|  
 
|  
 
|-
 
|-
| MODIFIER_STATE_LAST
+
| ACT_DOTA_BELLYACHE_LOOP
| 34
+
| 1613
 
|  
 
|  
|}
 
 
==== quest_text_replace_values_t ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| QUEST_TEXT_REPLACE_VALUE_CURRENT_VALUE
+
| ACT_DOTA_BELLYACHE_END
| 0
+
| 1614
 
|  
 
|  
 
|-
 
|-
| QUEST_TEXT_REPLACE_VALUE_TARGET_VALUE
+
| ACT_DOTA_ROQUELAIRE_LAND
| 1
+
| 1615
 
|  
 
|  
 
|-
 
|-
| QUEST_TEXT_REPLACE_VALUE_ROUND
+
| ACT_DOTA_ROQUELAIRE_LAND_IDLE
| 2
+
| 1616
 
|  
 
|  
 
|-
 
|-
| QUEST_TEXT_REPLACE_VALUE_REWARD
+
| ACT_DOTA_GREEVIL_CAST
| 3
+
| 1617
 
|  
 
|  
 
|-
 
|-
| QUEST_NUM_TEXT_REPLACE_VALUES
+
| ACT_DOTA_GREEVIL_OVERRIDE_ABILITY
| 4
+
| 1618
 
|  
 
|  
|}
 
 
==== Find Types ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| FIND_UNITS_EVERYWHERE
+
| ACT_DOTA_GREEVIL_HOOK_START
| -1
+
| 1619
 
|  
 
|  
 
|-
 
|-
| FIND_ANY_ORDER
+
| ACT_DOTA_GREEVIL_HOOK_END
| 0
+
| 1620
 
|  
 
|  
 
|-
 
|-
| FIND_CLOSEST
+
| ACT_DOTA_GREEVIL_BLINK_BONE
| 1
+
| 1621
 
|  
 
|  
 
|-
 
|-
| FIND_FARTHEST
+
| ACT_DOTA_IDLE_SLEEPING
| 2
+
| 1622
 
|  
 
|  
|}
 
 
==== subquest_text_replace_values_t ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| SUBQUEST_TEXT_REPLACE_VALUE_CURRENT_VALUE
+
| ACT_DOTA_INTRO
| 0
+
| 1623
 
|  
 
|  
 
|-
 
|-
| SUBQUEST_TEXT_REPLACE_VALUE_TARGET_VALUE
+
| ACT_DOTA_GESTURE_POINT
| 1
+
| 1624
 
|  
 
|  
 
|-
 
|-
| SUBQUEST_NUM_TEXT_REPLACE_VALUES
+
| ACT_DOTA_GESTURE_ACCENT
| 2
+
| 1625
 
|  
 
|  
|}
 
 
==== DOTAScriptInventorySlot_t ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| DOTA_ITEM_SLOT_1
+
| ACT_DOTA_SLEEPING_END
| 0
+
| 1626
 
|  
 
|  
 
|-
 
|-
| DOTA_ITEM_SLOT_2
+
| ACT_DOTA_AMBUSH
| 1
+
| 1627
 
|  
 
|  
 
|-
 
|-
| DOTA_ITEM_SLOT_3
+
| ACT_DOTA_ITEM_LOOK
| 2
+
| 1628
 
|  
 
|  
 
|-
 
|-
| DOTA_ITEM_SLOT_4
+
| ACT_DOTA_STARTLE
| 3
+
| 1629
 
|  
 
|  
 
|-
 
|-
| DOTA_ITEM_SLOT_5
+
| ACT_DOTA_FRUSTRATION
| 4
+
| 1630
 
|  
 
|  
 
|-
 
|-
| DOTA_ITEM_SLOT_6
+
| ACT_DOTA_TELEPORT_REACT
| 5
+
| 1631
 
|  
 
|  
 
|-
 
|-
| DOTA_STASH_SLOT_1
+
| ACT_DOTA_TELEPORT_END_REACT
| 6
+
| 1632
 
|  
 
|  
 
|-
 
|-
| DOTA_STASH_SLOT_2
+
| ACT_DOTA_SHRUG
| 7
+
| 1633
 
|  
 
|  
 
|-
 
|-
| DOTA_STASH_SLOT_3
+
| ACT_DOTA_RELAX_LOOP_END
| 8
+
| 1634
 
|  
 
|  
 
|-
 
|-
| DOTA_STASH_SLOT_4
+
| ACT_DOTA_PRESENT_ITEM
| 9
+
| 1635
 
|  
 
|  
 
|-
 
|-
| DOTA_STASH_SLOT_5
+
| ACT_DOTA_IDLE_IMPATIENT
| 10
+
| 1636
 
|  
 
|  
 
|-
 
|-
| DOTA_STASH_SLOT_6
+
| ACT_DOTA_SHARPEN_WEAPON
| 11
+
| 1637
 
|  
 
|  
|}
 
 
==== DOTA_GameState ====
 
{| class="standard-table" style="width: 50%;"
 
! Name
 
! Value
 
! Description
 
 
|-
 
|-
| DOTA_GAMERULES_STATE_INIT
+
| ACT_DOTA_SHARPEN_WEAPON_OUT
| 0
+
| 1638
 
|  
 
|  
 
|-
 
|-
| DOTA_GAMERULES_STATE_WAIT_FOR_PLAYERS_TO_LOAD
+
| ACT_DOTA_IDLE_SLEEPING_END
| 1
+
| 1639
 
|  
 
|  
 
|-
 
|-
| DOTA_GAMERULES_STATE_CUSTOM_GAME_SETUP
+
| ACT_DOTA_BRIDGE_DESTROY
| 2
+
| 1640
 
|  
 
|  
 
|-
 
|-
| DOTA_GAMERULES_STATE_HERO_SELECTION
+
| ACT_DOTA_TAUNT_SNIPER
| 3
+
| 1641
 
|  
 
|  
 
|-
 
|-
| DOTA_GAMERULES_STATE_STRATEGY_TIME
+
| ACT_DOTA_DEATH_BY_SNIPER
| 4
+
| 1642
 
|  
 
|  
 
|-
 
|-
| DOTA_GAMERULES_STATE_TEAM_SHOWCASE
+
| ACT_DOTA_LOOK_AROUND
| 5
+
| 1643
 
|  
 
|  
 
|-
 
|-
| DOTA_GAMERULES_STATE_PRE_GAME
+
| ACT_DOTA_CAGED_CREEP_RAGE
| 6
+
| 1644
 
|  
 
|  
 
|-
 
|-
| DOTA_GAMERULES_STATE_GAME_IN_PROGRESS
+
| ACT_DOTA_CAGED_CREEP_RAGE_OUT
| 7
+
| 1645
 +
|
 +
|-
 +
| ACT_DOTA_CAGED_CREEP_SMASH
 +
| 1646
 +
|
 +
|-
 +
| ACT_DOTA_CAGED_CREEP_SMASH_OUT
 +
| 1647
 +
|
 +
|-
 +
| ACT_DOTA_IDLE_IMPATIENT_SWORD_TAP
 +
| 1648
 +
|
 +
|-
 +
| ACT_DOTA_INTRO_LOOP
 +
| 1649
 +
|
 +
|-
 +
| ACT_DOTA_BRIDGE_THREAT
 +
| 1650
 +
|
 +
|-
 +
| ACT_DOTA_DAGON
 +
| 1651
 +
|
 +
|-
 +
| ACT_DOTA_CAST_ABILITY_2_ES_ROLL_START
 +
| 1652
 +
|
 +
|-
 +
| ACT_DOTA_CAST_ABILITY_2_ES_ROLL
 +
| 1653
 +
|
 +
|-
 +
| ACT_DOTA_CAST_ABILITY_2_ES_ROLL_END
 +
| 1654
 +
|
 +
|-
 +
| ACT_DOTA_NIAN_PIN_START
 +
| 1655
 +
|
 +
|-
 +
| ACT_DOTA_NIAN_PIN_LOOP
 +
| 1656
 
|  
 
|  
 
|-
 
|-
| DOTA_GAMERULES_STATE_POST_GAME
+
| ACT_DOTA_NIAN_PIN_END
| 8
+
| 1657
 
|  
 
|  
 
|-
 
|-
| DOTA_GAMERULES_STATE_DISCONNECT
+
| ACT_DOTA_LEAP_STUN
| 9
+
| 1658
 +
|
 +
|-
 +
| ACT_DOTA_LEAP_SWIPE
 +
| 1659
 +
|
 +
|-
 +
| ACT_DOTA_NIAN_INTRO_LEAP
 +
| 1660
 +
|
 +
|-
 +
| ACT_DOTA_AREA_DENY
 +
| 1661
 +
|
 +
|-
 +
| ACT_DOTA_NIAN_PIN_TO_STUN
 +
| 1662
 +
|
 +
|-
 +
| ACT_DOTA_RAZE_1
 +
| 1663
 +
|
 +
|-
 +
| ACT_DOTA_RAZE_2
 +
| 1664
 +
|
 +
|-
 +
| ACT_DOTA_RAZE_3
 +
| 1665
 +
|
 +
|-
 +
| ACT_DOTA_UNDYING_DECAY
 +
| 1666
 +
|
 +
|-
 +
| ACT_DOTA_UNDYING_SOUL_RIP
 +
| 1667
 +
|
 +
|-
 +
| ACT_DOTA_UNDYING_TOMBSTONE
 +
| 1668
 +
|
 +
|-
 +
| ACT_DOTA_WHIRLING_AXES_RANGED
 +
| 1669
 +
|
 +
|-
 +
| ACT_DOTA_SHALLOW_GRAVE
 +
| 1670
 +
|
 +
|-
 +
| ACT_DOTA_COLD_FEET
 +
| 1671
 +
|
 +
|-
 +
| ACT_DOTA_ICE_VORTEX
 +
| 1672
 +
|
 +
|-
 +
| ACT_DOTA_CHILLING_TOUCH
 +
| 1673
 +
|
 +
|-
 +
| ACT_DOTA_ENFEEBLE
 +
| 1674
 +
|
 +
|-
 +
| ACT_DOTA_FATAL_BONDS
 +
| 1675
 +
|
 +
|-
 +
| ACT_DOTA_MIDNIGHT_PULSE
 +
| 1676
 +
|
 +
|-
 +
| ACT_DOTA_ANCESTRAL_SPIRIT
 +
| 1677
 +
|
 +
|-
 +
| ACT_DOTA_THUNDER_STRIKE
 +
| 1678
 +
|
 +
|-
 +
| ACT_DOTA_KINETIC_FIELD
 +
| 1679
 +
|
 +
|-
 +
| ACT_DOTA_STATIC_STORM
 +
| 1680
 +
|
 +
|-
 +
| ACT_DOTA_MINI_TAUNT
 +
| 1681
 +
|
 +
|-
 +
| ACT_DOTA_ARCTIC_BURN_END
 +
| 1682
 +
|
 +
|-
 +
| ACT_DOTA_LOADOUT_RARE
 +
| 1683
 +
|
 +
|-
 +
| ACT_DOTA_SWIM
 +
| 1684
 +
|
 +
|-
 +
| ACT_DOTA_FLEE
 +
| 1685
 +
|
 +
|-
 +
| ACT_DOTA_TROT
 +
| 1686
 +
|
 +
|-
 +
| ACT_DOTA_SHAKE
 +
| 1687
 +
|
 +
|-
 +
| ACT_DOTA_SWIM_IDLE
 +
| 1688
 +
|
 +
|-
 +
| ACT_DOTA_WAIT_IDLE
 +
| 1689
 +
|
 +
|-
 +
| ACT_DOTA_GREET
 +
| 1690
 +
|
 +
|-
 +
| ACT_DOTA_TELEPORT_COOP_START
 +
| 1691
 +
|
 +
|-
 +
| ACT_DOTA_TELEPORT_COOP_WAIT
 +
| 1692
 +
|
 +
|-
 +
| ACT_DOTA_TELEPORT_COOP_END
 +
| 1693
 +
|
 +
|-
 +
| ACT_DOTA_TELEPORT_COOP_EXIT
 +
| 1694
 +
|
 +
|-
 +
| ACT_DOTA_SHOPKEEPER_PET_INTERACT
 +
| 1695
 +
|
 +
|-
 +
| ACT_DOTA_ITEM_PICKUP
 +
| 1696
 +
|
 +
|-
 +
| ACT_DOTA_ITEM_DROP
 +
| 1697
 +
|
 +
|-
 +
| ACT_DOTA_CAPTURE_PET
 +
| 1698
 +
|
 +
|-
 +
| ACT_DOTA_PET_WARD_OBSERVER
 +
| 1699
 +
|
 +
|-
 +
| ACT_DOTA_PET_WARD_SENTRY
 +
| 1700
 +
|
 +
|-
 +
| ACT_DOTA_PET_LEVEL
 +
| 1701
 +
|
 +
|-
 +
| ACT_DOTA_CAST_BURROW_END
 +
| 1702
 +
|
 +
|-
 +
| ACT_DOTA_LIFESTEALER_ASSIMILATE
 +
| 1703
 +
|
 +
|-
 +
| ACT_DOTA_LIFESTEALER_EJECT
 +
| 1704
 +
|
 +
|-
 +
| ACT_DOTA_ATTACK_EVENT_BASH
 +
| 1705
 
|  
 
|  
 
|}
 
|}

Revision as of 18:11, 20 July 2015

Русский 简体中文
Note.png Note:  This page is automatically generated. Any changes may be overwritten

Accessing the DOTA 2 Scripting API from Lua

While Lua is dynamically typed, the DOTA 2 engine is written primarily in C++, which is statically typed. Thus, you'll need to be conscious of your data types when calling the API. (If you try to pass the wrong type to an API function, you'll get an error message in Vconsole telling you what you passed and what it was expecting.)

Contents

Global

Global functions. These can be called without any class

Function Signature Description
AddFOWViewer void AddFOWViewer(int int_1, Vector Vector_2, float float_3, float float_4, bool bool_5) Add temporary vision for a given team ( nTeamID, vLocation, flRadius, flDuration, bObstructedVision)
AngleDiff float AngleDiff(float ang1, float ang2) Returns the number of degrees difference between two yaw angles
AppendToLogFile void AppendToLogFile(string string_1, string string_2) Appends a string to a log file on the server
ApplyDamage float ApplyDamage(handle DamageTable) Applies damage to a unit.
AxisAngleToQuaternion Quaternion AxisAngleToQuaternion(Vector Vector_1, float float_2) (vector,float) constructs a quaternion representing a rotation by angle around the specified vector axis
CalcClosestPointOnEntityOBB Vector CalcClosestPointOnEntityOBB(handle handle_1, Vector Vector_2) Compute the closest point on the OBB of an entity.
CalcDistanceBetweenEntityOBB float CalcDistanceBetweenEntityOBB(handle handle_1, handle handle_2) Compute the distance between two entity OBB. A negative return value indicates an input error. A return value of zero indicates that the OBBs are overlapping.
CancelEntityIOEvents void CancelEntityIOEvents(ehandle ehandle_1) Create all I/O events for a particular entity
ClearTeamCustomHealthbarColor void ClearTeamCustomHealthbarColor(int int_1) ( teamNumber )
CreateEffect bool CreateEffect(handle handle_1) Pass table - Inputs: entity, effect
CreateHeroForPlayer handle CreateHeroForPlayer(string unitName, handle player) Creates a DOTA hero by its dota_npc_units.txt name and sets it as the given player's controlled hero
CreateHTTPRequest handle CreateHTTPRequest(string string_1, string string_2) Create an HTTP request.
CreateItem handle CreateItem(string item_name, handle owner, handle owner) Creates an item with classname item_name that owner can use.
CreateItemOnPositionForLaunch handle CreateItemOnPositionForLaunch(Vector Vector_1, handle handle_2) Create a physical item at a given location, can start in air (but doesn't clear a space)
CreateItemOnPositionSync handle CreateItemOnPositionSync(Vector Vector_1, handle handle_2) Create a physical item at a given location
CreateModifierThinker handle CreateModifierThinker(handle handle_1, handle handle_2, string string_3, handle handle_4, Vector Vector_5, int int_6, bool bool_7) Create a modifier not associated with an NPC. ( hCaster, hAbility, modifierName, paramTable, vOrigin, nTeamNumber, bPhantomBlocker )
CreateTempTree void CreateTempTree(Vector Vector_1, float float_2) Create a temporary tree. (vLocation, flDuration).
CreateTrigger handle CreateTrigger(Vector Vector_1, Vector Vector_2, Vector Vector_3) CreateTrigger( vecMin, vecMax ) : Creates and returns an AABB trigger
CreateTriggerRadiusApproximate handle CreateTriggerRadiusApproximate(Vector Vector_1, float float_2) CreateTriggerRadiusApproximate( vecOrigin, flRadius ) : Creates and returns an AABB trigger thats bigger than the radius provided
CreateUnitByName handle CreateUnitByName(string string_1, Vector Vector_2, bool bool_3, handle handle_4, handle handle_5, int int_6) Creates a DOTA unit by its dota_npc_units.txt name ( szUnitName, vLocation, bFindClearSpace, hNPCOwner, hUnitOwner, iTeamNumber )
CreateUnitByNameAsync int CreateUnitByNameAsync(string string_1, Vector Vector_2, bool bool_3, handle handle_4, handle handle_5, int int_6, handle handle_7) Creates a DOTA unit by its dota_npc_units.txt name ( szUnitName, vLocation, bFindClearSpace, hNPCOwner, hUnitOwner, iTeamNumber, hCallback )
CreateUnitFromTable hscript CreateUnitFromTable(handle handle_1, Vector Vector_2) Creates a new data-driven entity with the given table
cvar_getf float cvar_getf(string string_1) Gets the value of the given cvar, as a float.
cvar_setf bool cvar_setf(string string_1, float float_2) Sets the value of the given cvar, as a float.
DebugBreak void DebugBreak() Breaks in the debugger
DebugDrawBox void DebugDrawBox(Vector origin, Vector min, Vector max, int r, int g, int b, int a, float duration) Draw a debug overlay box
DebugDrawBoxDirection void DebugDrawBoxDirection(Vector Vector_1, Vector Vector_2, Vector Vector_3, Vector Vector_4, Vector Vector_5, float float_6, float float_7) Draw a debug forward box (cent, min, max, forward, vRgb, a, duration)
DebugDrawCircle void DebugDrawCircle(Vector Vector_1, Vector Vector_2, float float_3, float float_4, bool bool_5, float float_6) Draw a debug circle (center, vRgb, a, rad, ztest, duration)
DebugDrawClear void DebugDrawClear() Try to clear all the debug overlay info
DebugDrawLine void DebugDrawLine(Vector Vector_1, Vector Vector_2, int int_3, int int_4, int int_5, bool bool_6, float float_7) Draw a debug overlay line (origin, target, r, g, b, ztest, duration)
DebugDrawLine_vCol void DebugDrawLine_vCol(Vector Vector_1, Vector Vector_2, Vector Vector_3, bool bool_4, float float_5) Draw a debug line using color vec (start, end, vRgb, a, ztest, duration)
DebugDrawScreenTextLine void DebugDrawScreenTextLine(float float_1, float float_2, int int_3, string string_4, int int_5, int int_6, int int_7, int int_8, float float_9) Draw text with a line offset (x, y, lineOffset, text, r, g, b, a, duration)
DebugDrawSphere void DebugDrawSphere(Vector Vector_1, Vector Vector_2, float float_3, float float_4, bool bool_5, float float_6) Draw a debug sphere (center, vRgb, a, rad, ztest, duration)
DebugDrawText void DebugDrawText(Vector Vector_1, string string_2, bool bool_3, float float_4) Draw text in 3d (origin, text, bViewCheck, duration)
DebugScreenTextPretty void DebugScreenTextPretty(float float_1, float float_2, int int_3, string string_4, int int_5, int int_6, int int_7, int int_8, float float_9, string string_10, int int_11, bool bool_12) Draw pretty debug text (x, y, lineOffset, text, r, g, b, a, duration, font, size, bBold)
DoCleaveAttack int DoCleaveAttack(handle handle_1, handle handle_2, handle handle_3, float float_4, float float_5, string string_6) (hAttacker, hTarget, hAbility, fDamage, fRadius, effectName)
DoEntFire void DoEntFire(string string_1, string string_2, string string_3, float float_4, handle handle_5, handle handle_6) EntFire: Generate an entity i/o event ( szTarget, szAction, szValue, flDelay, hActivator, hCaller )
DoEntFireByInstanceHandle void DoEntFireByInstanceHandle(handle handle_1, string string_2, string string_3, float float_4, handle handle_5, handle handle_6) EntFireByHandle:Generate and entity i/o event
DoIncludeScript bool DoIncludeScript(string string_1, handle handle_2) Execute a script (internal)
DoScriptAssert void DoScriptAssert(bool bool_1, string string_2) ScriptAssert:Asserts the passed in value. Prints out a message and brings up the assert dialog.
DoUniqueString string DoUniqueString(string string_1) UniqueString:Generate a string guaranteed to be unique across the life of the script VM, with an optional root string. Useful for adding data to table's when not sure what keys are already in use in that table.
EmitGlobalSound void EmitGlobalSound(string string_1) Play named sound for all players
EmitSoundOn void EmitSoundOn(string string_1, handle handle_2) Play named sound on Entity
EmitSoundOnClient void EmitSoundOnClient(string string_1, handle handle_2) Play named sound only on the client for the passed in player
EmitSoundOnLocationForAllies void EmitSoundOnLocationForAllies(Vector Vector_1, string string_2, handle handle_3) Emit a sound on a location from a unit, only for players allied with that unit (vLocation, soundName, hCaster
EmitSoundOnLocationWithCaster void EmitSoundOnLocationWithCaster(Vector Vector_1, string string_2, handle handle_3) Emit a sound on a location from a unit. (vLocation, soundName, hCaster).
EntIndexToHScript handle EntIndexToHScript(int int_1) Turn an entity index integer to an HScript representing that entity's script instance.
ExecuteOrderFromTable void ExecuteOrderFromTable(handle handle_1) Issue an order from a script table
ExponentialDecay float ExponentialDecay(float float_1, float float_2, float float_3) Smooth curve decreasing slower as it approaches zero
FileToString string FileToString(string a) Reads a string from a file to send to script
FindClearSpaceForUnit void FindClearSpaceForUnit(handle handle_1, Vector Vector_2, bool bool_3) Place a unit somewhere not already occupied.
FindUnitsInRadius table FindUnitsInRadius(int teamNumber, Vector position, handle cacheUnit, float radius, int teamFilter, int typeFilter, int flagFilter, int order, bool canGrowCache) Finds the units in a given radius with the given flags. ( iTeamNumber, vPosition, hCacheUnit, flRadius, iTeamFilter, iTypeFilter, iFlagFilter, iOrder, bCanGrowCache )
FireEntityIOInputNameOnly void FireEntityIOInputNameOnly(ehandle ehandle_1, string string_2) Fire Entity's Action Input w/no data
FireEntityIOInputString void FireEntityIOInputString(ehandle ehandle_1, string string_2, string string_3) Fire Entity's Action Input with passed String - you own the memory
FireEntityIOInputVec void FireEntityIOInputVec(ehandle ehandle_1, string string_2, Vector Vector_3) Fire Entity's Action Input with passed Vector ( hEntity, szActionName, vector )
FireGameEvent void FireGameEvent(string eventName, handle parameterTable) Fire a pre-defined event, which can be found either in custom_events.txt or in dota's resource/*.res
FireGameEventLocal void FireGameEventLocal(string string_1, handle handle_2) Fire a game event without broadcasting to the client.
FrameTime float FrameTime() Get the time spent on the server in the last frame
GetFrameCount int GetFrameCount() Returns the engines current frame count
GetFrostyBoostAmount float GetFrostyBoostAmount(int int_1, int int_2) No Description Set
GetFrostyPointsForRound int GetFrostyPointsForRound(int int_1, int int_2, int int_3) No Description Set
GetGoldFrostyBoostAmount float GetGoldFrostyBoostAmount(int int_1, int int_2) No Description Set
GetGoldFrostyPointsForRound int GetGoldFrostyPointsForRound(int int_1, int int_2, int int_3) No Description Set
GetGroundHeight float GetGroundHeight(Vector Vector_1, handle handle_2)
GetGroundPosition Vector GetGroundPosition(Vector Vector_1, handle handle_2) Returns the supplied position moved to the ground. Second parameter is an NPC for measuring movement collision hull offset.
GetItemCost int GetItemCost(string string_1) Get the cost of an item by name.
GetListenServerHost handle GetListenServerHost() Get the local player on a listen server.
GetMapName string GetMapName() Get the name of the map.
GetMaxOutputDelay float GetMaxOutputDelay(ehandle ehandle_1, string string_2) Get the longest delay for all events attached to an output
GetPhysAngularVelocity Vector GetPhysAngularVelocity(handle handle_1) Get Angular Velocity for VPHYS or normal object
GetPhysVelocity Vector GetPhysVelocity(handle handle_1) Get Velocity for VPHYS or normal object
GetSystemDate string GetSystemDate() Get the current real world date
GetSystemTime string GetSystemTime() Get the current real world time
GetTeamHeroKills int GetTeamHeroKills(int int_1) ( int teamID )
GetTeamName string GetTeamName(int teamNumber) Returns the team name
GetWorldMaxX float GetWorldMaxX() Gets the world's maximum X position.
GetWorldMaxY float GetWorldMaxY() Gets the world's maximum Y position.
GetWorldMinX float GetWorldMinX() Gets the world's minimum X position.
GetWorldMinY float GetWorldMinY() Gets the world's minimum Y position.
InitLogFile void InitLogFile(string string_1, string string_2) If the given file doesn't exist, creates it with the given contents; does nothing if it exists
IsDedicatedServer bool IsDedicatedServer() Returns true if this server is a dedicated server.
IsMarkedForDeletion bool IsMarkedForDeletion(handle handle_1) Returns true if the entity is valid and marked for deletion.
IsServer bool IsServer() Returns true if this is lua running from the server.dll.
IsValidEntity bool IsValidEntity(handle handle_1) Checks to see if the given hScript is a valid entity
LimitPathingSearchDepth void LimitPathingSearchDepth(float float_1) Set the limit on the pathfinding search space.
LinkLuaModifier void LinkLuaModifier(string modifier_name, string file_path, int motion_controller_type) Link a lua-defined modifier with the associated class. If the modifier is located within the root vscript folder, then the second argument (file_path) may be omitted
ListenToGameEvent int ListenToGameEvent(string EventName, handle functionNameToCall, handle context) Register as a listener for a game event from script.
LoadKeyValues table LoadKeyValues(string string_1) Creates a table from the specified keyvalues text file
LoadKeyValuesFromString table LoadKeyValuesFromString(string string_1) Creates a table from the specified keyvalues string
MakeStringToken int MakeStringToken(string string_1) Checks to see if the given hScript is a valid entity
MinimapEvent void MinimapEvent(int int_1, handle handle_2, int int_3, int int_4, int int_5, int int_6) Start a minimap event. (nTeamID, hEntity, nXCoord, nYCoord, nEventType, nEventDuration).
Msg void Msg(string string_1) Print a message
PauseGame void PauseGame(bool bool_1) Pause or unpause the game.
PlayerInstanceFromIndex handle PlayerInstanceFromIndex(int int_1) Get a script instance of a player by index.
PrecacheEntityFromTable void PrecacheEntityFromTable(string string_1, handle handle_2, handle handle_3) Precache an entity from KeyValues in table
PrecacheEntityListFromTable void PrecacheEntityListFromTable(handle handle_1, handle handle_2) Precache a list of entity KeyValues table's
PrecacheItemByNameAsync void PrecacheItemByNameAsync(string string_1, handle handle_2) Asynchronously precaches a DOTA item by its dota_npc_items.txt name, provides a callback when it's finished.
PrecacheItemByNameSync void PrecacheItemByNameSync(string string_1, handle handle_2) Precaches a DOTA item by its dota_npc_items.txt name
PrecacheModel void PrecacheModel(string string_1, handle handle_2) ( modelName, context ) - Manually precache a single model
PrecacheResource void PrecacheResource(string precacheMode, string resource, handle context) Manually precache a single resource
PrecacheUnitByNameAsync void PrecacheUnitByNameAsync(string string_1, handle handle_2, int int_3) Asynchronously precaches a DOTA unit by its dota_npc_units.txt name, provides a callback when it's finished.
PrecacheUnitByNameSync void PrecacheUnitByNameSync(string string_1, handle handle_2, int int_3) Precaches a DOTA unit by its dota_npc_units.txt name
PrintLinkedConsoleMessage void PrintLinkedConsoleMessage(string string_1, string string_2) Print a console message with a linked console command
RandomFloat float RandomFloat(float float_1, float float_2) Get a random float within a range
RandomInt int RandomInt(int int_1, int int_2) Get a random int within a range
RandomVector Vector RandomVector(float maxLength) Get a random 2D vector
RegisterSpawnGroupFilterProxy void RegisterSpawnGroupFilterProxy(string string_1) Create a C proxy for a script-based spawn group filter
ReloadMOTD void ReloadMOTD() Reloads the MotD file
RemoveSpawnGroupFilterProxy void RemoveSpawnGroupFilterProxy(string string_1) Remove the C proxy for a script-based spawn group filter
ResolveNPCPositions void ResolveNPCPositions(Vector Vector_1, float float_2) Check and fix units that have been assigned a position inside collision radius of other NPCs.
RollPercentage bool RollPercentage(int int_1) Rolls a number from 1 to 100 and returns true if the roll is less than or equal to the number specified
RotateOrientation QAngle RotateOrientation(QAngle QAngle_1, QAngle QAngle_2) Rotate a QAngle by another QAngle.
RotatePosition Vector RotatePosition(Vector Vector_1, QAngle QAngle_2, Vector Vector_3) Rotate a Vector around a point.
RotateQuaternionByAxisAngle Quaternion RotateQuaternionByAxisAngle(Quaternion Quaternion_1, Vector Vector_2, float float_3) Rotates a quaternion by the specified angle around the specified vector axis
RotationDelta QAngle RotationDelta(QAngle QAngle_1, QAngle QAngle_2) Find the delta between two QAngles.
rr_AddDecisionRule bool rr_AddDecisionRule(handle handle_1) Add a rule to the decision database.
rr_CommitAIResponse bool rr_CommitAIResponse(handle handle_1, handle handle_2) Commit the result of QueryBestResponse back to the given entity to play. Call with params (entity, airesponse)
rr_GetResponseTargets handle rr_GetResponseTargets() Retrieve a table of all available expresser targets, in the form { name : handle, name: handle }.
rr_QueryBestResponse bool rr_QueryBestResponse(handle handle_1, handle handle_2, handle handle_3) Params: ( hEnt, hQuery, hResult ) // Static : tests 'query' against entity's response system and returns the best response found (or nil if none found).
Say void Say(handle entity, string message, bool teamOnly) Have Entity say string, and teamOnly or not
ScreenShake void ScreenShake(Vector Vector_1, float float_2, float float_3, float float_4, float float_5, int int_6, bool bool_7) Start a screenshake with the following parameters. vecCenter, flAmplitude, flFrequency, flDuration, flRadius, eCommand( SHAKE_START = 0, SHAKE_STOP = 1 ), bAirShake
SendFrostivusTimeElapsedToGC void SendFrostivusTimeElapsedToGC() No Description Set
SendFrostyPointsMessageToGC void SendFrostyPointsMessageToGC(handle handle_1) No Description Set
SendOverheadEventMessage void SendOverheadEventMessage(handle handle_1, int int_2, handle handle_3, int int_4, handle handle_5) ( DOTAPlayer sendToPlayer, int iMessageType, Entity targetEntity, int iValue, DOTAPlayer sourcePlayer ) - sendToPlayer and sourcePlayer can be nil - iMessageType is one of OVERHEAD_ALERT_*
SendToConsole void SendToConsole(string string_1) Send a string to the console as a client command
SendToServerConsole void SendToServerConsole(string string_1) Send a string to the console as a server command
SetOpvarFloatAll void SetOpvarFloatAll(string string_1, string string_2, string string_3, float float_4) Sets an opvar value for all players
SetOpvarFloatPlayer void SetOpvarFloatPlayer(string string_1, string string_2, string string_3, float float_4, handle handle_5) Sets an opvar value for a single player ( szStackName, szOperatorName, szOpvarName, flOpvarValue, hEnt )
SetQuestName void SetQuestName(string string_1) Set the current quest name.
SetQuestPhase void SetQuestPhase(int int_1) Set the current quest phase.
SetRenderingEnabled void SetRenderingEnabled(ehandle ehandle_1, bool bool_2) Set rendering on/off for an ehandle
SetTeamCustomHealthbarColor void SetTeamCustomHealthbarColor(int int_1, int int_2, int int_3, int int_4) ( teamNumber, r, g, b )
ShowCustomHeaderMessage void ShowCustomHeaderMessage(string message, int player, int value, float time) Displays a header message from player
ShowGenericPopup void ShowGenericPopup(string title, string content, string unknown, string unknown, int containerType) Shows a generic popup to all users
ShowGenericPopupToPlayer void ShowGenericPopupToPlayer(handle handle_1, string string_2, string string_3, string string_4, string string_5, int int_6) Show a generic popup dialog to a specific player.
ShowMessage void ShowMessage(string string_1) Print a hud message on all clients
SpawnEntityFromTableSynchronous handle SpawnEntityFromTableSynchronous(string string_1, handle handle_2) Synchronously spawns a single entity from a table
SpawnEntityGroupFromTable bool SpawnEntityGroupFromTable(handle groupSpawnTables, bool bAsync, handle hCallback) Hierarchically spawn an entity group from a set of spawn tables.
SpawnEntityListFromTableAsynchronous int SpawnEntityListFromTableAsynchronous(handle handle_1, handle handle_2) Asynchronously spawn an entity group from a list of spawn table's. A callback will be triggered when the spawning is complete
SpawnEntityListFromTableSynchronous handle SpawnEntityListFromTableSynchronous(handle handle_1) Synchronously spawn an entity group from a list of spawn table's.
SplineQuaternions Quaternion SplineQuaternions(Quaternion Quaternion_1, Quaternion Quaternion_2, float float_3) (quaternion,quaternion,float) very basic interpolation of v0 to v1 over t on [0,1]
SplineVectors Vector SplineVectors(Vector Vector_1, Vector Vector_2, float float_3) (vector,vector,float) very basic interpolation of v0 to v1 over t on [0,1]
StartSoundEvent void StartSoundEvent(string string_1, handle handle_2) Start a sound event
StartSoundEventFromPosition void StartSoundEventFromPosition(string string_1, Vector Vector_2) Start a sound event from position
StartSoundEventFromPositionReliable void StartSoundEventFromPositionReliable(string string_1, Vector Vector_2) Start a sound event from position with reliable delivery
StartSoundEventFromPositionUnreliable void StartSoundEventFromPositionUnreliable(string string_1, Vector Vector_2) Start a sound event from position with optional delivery
StartSoundEventReliable void StartSoundEventReliable(string string_1, handle handle_2) Start a sound event with reliable delivery
StartSoundEventUnreliable void StartSoundEventUnreliable(string string_1, handle handle_2) Start a sound event with optional delivery
StopEffect void StopEffect(handle handle_1, string string_2) (hEntity, szEffectName)
StopListeningToAllGameEvents void StopListeningToAllGameEvents(handle handle_1) Stop listening to all game events within a specific context.
StopListeningToGameEvent bool StopListeningToGameEvent(int int_1) Stop listening to a particular game event.
StopSoundEvent void StopSoundEvent(string string_1, handle handle_2) Stops a sound event
StopSoundOn void StopSoundOn(string soundName, handle playingEntity) Stop named sound on Entity
StringToFile bool StringToFile(string a, string b) * Directory traversal doesn't seem to work. The characters '.', '/' and '\\' are ignored.
Time float Time() Get the current server time
TraceCollideable bool TraceCollideable(handle handle_1) Pass table - Inputs: start, end, ent, (optional mins, maxs) -- outputs: pos, fraction, hit, startsolid, normal
TraceHull bool TraceHull(handle handle_1) Pass table - Inputs: start, end, min, max, mask, ignore -- outputs: pos, fraction, hit, enthit, startsolid
TraceLine bool TraceLine(handle handle_1) Pass table - Inputs: startpos, endpos, mask, ignore -- outputs: pos, fraction, hit, enthit, startsolid
UnitFilter int UnitFilter(handle handle_1, int int_2, int int_3, int int_4, int int_5) Check if a unit passes a set of filters. (hNPC, nTargetTeam, nTargetType, nTargetFlags, nTeam
UnloadSpawnGroup void UnloadSpawnGroup(string string_1) Unload a spawn group by name
UnloadSpawnGroupByHandle void UnloadSpawnGroupByHandle(int int_1) Unload a spawn group by handle
UpdateEventPoints void UpdateEventPoints(handle handle_1) No Description Set
UTIL_MessageText void UTIL_MessageText(int playerId, string message, int r, int g, int b, int a) Displays a message for a specific player
UTIL_MessageText_WithContext void UTIL_MessageText_WithContext(int playerId, string message, int r, int g, int b, int a, table context) Sends a message to a specific player in the message box with a context table
UTIL_MessageTextAll void UTIL_MessageTextAll(string message, int r, int g, int b, int a) Sends a message to everyone in the message box
UTIL_MessageTextAll_WithContext void UTIL_MessageTextAll_WithContext(string message, int r, int g, int b, int a, table context) Sends a message to everyone in the message box with a context table
UTIL_Remove void UTIL_Remove(handle handle_1) Removes the specified entity
UTIL_RemoveImmediate void UTIL_RemoveImmediate(handle handle_1) Do Not use this function. Use UTIL_Remove() instead. This will crash your game.
UTIL_ResetMessageText void UTIL_ResetMessageText(int playerId) Resets the message text for the player
UTIL_ResetMessageTextAll void UTIL_ResetMessageTextAll() Resets the message text for all players
VectorToAngles QAngle VectorToAngles(Vector Vector_1) Get Qangles (with no roll) for a Vector.
Warning void Warning(string string_1) Print a warning


CBaseEntity

The base class for stuff

Function Signature Description
AddEffects void AddEffects(int nFlags) AddEffects( int ): Adds the render effect flag.
ApplyAbsVelocityImpulse void ApplyAbsVelocityImpulse(Vector vecImpulse) Apply a Velocity Impulse
ApplyLocalAngularVelocityImpulse void ApplyLocalAngularVelocityImpulse(Vector angImpulse) Apply an Ang Velocity Impulse
Attribute_GetFloatValue float Attribute_GetFloatValue(string pName, float flDefault) Get float value for an entity attribute.
Attribute_GetIntValue float Attribute_GetIntValue(string pName, int nDefault) Get int value for an entity attribute.
Attribute_SetFloatValue void Attribute_SetFloatValue(string pName, float flValue) Set float value for an entity attribute.
Attribute_SetIntValue void Attribute_SetIntValue(string pName, int nValue) Set int value for an entity attribute.
DeleteAttribute void DeleteAttribute(string pName) Delete an entity attribute.
EmitSound void EmitSound(string soundName)
EmitSoundParams void EmitSoundParams(string soundName, int pitch, float volume, float soundTime) Plays/modifies a sound from this entity. changes sound if Pitch and/or Volume or SoundTime is > 0.
EyeAngles QAngle EyeAngles() Get the qangles that this entity is looking at.
EyePosition Vector EyePosition() Get vector to eye position - absolute coords
FirstMoveChild handle FirstMoveChild() No Description Set
GatherCriteria void GatherCriteria(handle hResult) Returns a table containing the criteria that would be used for response queries on this entity. This is the same as the table that is passed to response rule script function callbacks.
GetAbsOrigin Vector GetAbsOrigin() No Description Set
GetAngles QAngle GetAngles() No Description Set
GetAnglesAsVector Vector GetAnglesAsVector() Get entity pitch, yaw, roll as a vector
GetAngularVelocity Vector GetAngularVelocity() Get the local angular velocity - returns a vector of pitch,yaw,roll
GetBaseVelocity Vector GetBaseVelocity() Get Base velocity
GetBoundingMaxs Vector GetBoundingMaxs() Get a vector containing max bounds, centered on object
GetBoundingMins Vector GetBoundingMins() Get a vector containing min bounds, centered on object
GetBounds table GetBounds() Get a table containing the 'Mins' & 'Maxs' vector bounds, centered on object
GetCenter Vector GetCenter() Get vector to center of object - absolute coords
GetChildren handle GetChildren() Get the entities parented to this entity.
GetContext table GetContext(string name) GetContext( name ): looks up a context and returns it if available. May return string, float, or nil (if the context isn't found)
GetForwardVector Vector GetForwardVector() Get the forward vector of the entity
GetHealth int GetHealth() No Description Set
GetLocalAngularVelocity QAngle GetLocalAngularVelocity() Maybe local angvel
GetLocalVelocity Vector GetLocalVelocity() Get Entity relative velocity
GetMaxHealth int GetMaxHealth() No Description Set
GetModelName string GetModelName() Returns the name of the model
GetMoveParent handle GetMoveParent() If in hierarchy, retrieves the entity's parent
GetOrigin Vector GetOrigin() No Description Set
GetOwner handle GetOwner() Gets this entity's owner
GetOwnerEntity handle GetOwnerEntity() Get the owner entity, if there is one
GetRightVector Vector GetRightVector() Get the right vector of the entity
GetRootMoveParent handle GetRootMoveParent() If in hierarchy, walks up the hierarchy to find the root parent
GetSoundDuration float GetSoundDuration(string soundName, string actormodelname) Returns float duration of the sound. Takes soundname and optional actormodelname.
GetTeam int GetTeam() No Description Set
GetTeamNumber int GetTeamNumber() Get the team number of this entity.
GetUpVector Vector GetUpVector() Get the up vector of the entity
GetVelocity Vector GetVelocity() No Description Set
HasAttribute bool HasAttribute(string pName) See if an entity has a particular attribute.
IsAlive bool IsAlive() No Description Set.
IsPlayer bool IsPlayer() Is this a player entity?
Kill void Kill() No Description Set
NextMovePeer handle NextMovePeer() No Description Set
OverrideFriction void OverrideFriction(float duration, float friction) Takes duration, value for a temporary override
PrecacheScriptSound void PrecacheScriptSound(string soundname) Precache a sound for later playing.
RemoveEffects void RemoveEffects(int nFlags) RemoveEffects( int ): Removes the render effect flag.
SetAbsOrigin void SetAbsOrigin(Vector origin) SetAbsOrigin
SetAngles void SetAngles(float pitch, float yaw, float roll) Set entity pitch, yaw, roll
SetAngularVelocity void SetAngularVelocity(float pitch, float yaw, float roll) Set the local angular velocity - takes float pitch,yaw,roll velocities
SetConstraint void SetConstraint(Vector vPos) Set the position of the constraint.
SetContext void SetContext(string pName, string pValue, float duration) SetContext( name , value, duration ): store any key/value pair in this entity's dialog contexts. Value must be a string. Will last for duration (set 0 to mean 'forever').
SetContextNum void SetContextNum(string pName, float fValue, float duration) SetContext( name , value, duration ): store any key/value pair in this entity's dialog contexts. Value must be a number (int or float). Will last for duration (set 0 to mean 'forever').
SetContextThink void SetContextThink(string pszContextName, handle hThinkFunc, float flInterval) Set a think function on this entity.
SetForwardVector void SetForwardVector(Vector forwardVec) Set the orientation of the entity to have this forward forwardVec
SetFriction void SetFriction(float flFriction) Set PLAYER friction, ignored for objects
SetGravity void SetGravity(float flGravity) Set PLAYER gravity, ignored for objects
SetHealth void SetHealth(int hp) No Description Set
SetMaxHealth void SetMaxHealth(int maxHP) No Description Set
SetModel void SetModel(string modelName) No Description Set
SetOrigin void SetOrigin(Vector origin) No Description Set
SetOwner void SetOwner(handle owningEntity) Sets this entity's owner
SetParent void SetParent(handle hParent, string pAttachmentname) Set the parent for this entity.
SetRenderColor void SetRenderColor(int a, int b, int c) SetRenderColor( r, g, b ): Sets the render color of the entity.
SetSize void SetSize(Vector a, Vector b) No Description Set
SetTeam void SetTeam(int team) No Description Set
SetVelocity void SetVelocity(Vector vecVelocity) No Description Set
StopSound void StopSound(string soundName) Stops a named sound playing from this entity.
Trigger void Trigger() Fires off this entity's OnTrigger responses


CEntities

No Description Set

Global accessor variable: Entities

Function Signature Description
CreateByClassname handle CreateByClassname(string className) Creates an entity by classname
FindAllByClassname table FindAllByClassname(string string_1) Finds all entities by class name. Returns an array containing all the found entities.
FindAllByClassnameWithin table FindAllByClassnameWithin(string string_1, Vector Vector_2, float float_3) Find entities by class name within a radius.
FindAllByModel table FindAllByModel(string modelName) Find entities by model name.
FindAllByName table FindAllByName(string name) Find all entities by name. Returns an array containing all the found entities in it.
FindAllByNameWithin table FindAllByNameWithin(string name, Vector origin, float maxRadius) Find entities by name within a radius.
FindAllByTarget table FindAllByTarget(string targetName) Find entities by targetname.
FindAllInSphere table FindAllInSphere(Vector origin, float maxRadius) Find entities within a radius.
FindByClassname handle FindByClassname(handle startFrom, string className) Find entities by class name. Pass nil to start an iteration, or reference to a previously found entity to continue a search
FindByClassnameNearest handle FindByClassnameNearest(string className, Vector origin, float maxRadius) Find entities by class name nearest to a point.
FindByClassnameWithin handle FindByClassnameWithin(handle startFrom, string className, Vector origin, float maxRadius) Find entities by class name within a radius. Pass nil to start an iteration, or reference to a previously found entity to continue a search
FindByModel handle FindByModel(handle startFrom, string modelName) Find entities by model name. Pass nil to start an iteration, or reference to a previously found entity to continue a search
FindByModelWithin handle FindByModelWithin(handle startFrom, string modelName, Vector origin, float maxRadius) Find entities by model name within a radius. Pass nil to start an iteration, or reference to a previously found entity to continue a search
FindByName handle FindByName(handle lastEnt, string searchString) Find entities by name. Pass nil to start an iteration, or reference to a previously found entity to continue a search
FindByNameNearest handle FindByNameNearest(string name, Vector origin, float maxRadius) Find entities by name nearest to a point.
FindByNameWithin handle FindByNameWithin(handle startFrom, string name, Vector origin, float maxRadius) Find entities by name within a radius. Pass nil to start an iteration, or reference to a previously found entity to continue a search
FindByTarget handle FindByTarget(handle startFrom, string targetName) Find entities by targetname. Pass nil to start an iteration, or reference to a previously found entity to continue a search
FindInSphere handle FindInSphere(handle startFrom, Vector origin, float maxRadius) Find entities within a radius. Pass nil to start an iteration, or reference to a previously found entity to continue a search
First handle First() Begin an iteration over the list of entities
Next handle Next(handle startFrom) Continue an iteration over the list of entities, providing reference to a previously found entity


CEntityInstance

extends CBaseEntity

No Description Set

Function Signature Description
ConnectOutput void ConnectOutput(string string_1, string string_2) Adds an I/O connection that will call the named function on this entity when the specified output fires.
Destroy void Destroy() No Description Set
DisconnectOutput void DisconnectOutput(string string_1, string string_2) Removes a connected script function from an I/O event on this entity.
DisconnectRedirectedOutput void DisconnectRedirectedOutput(string string_1, string string_2, handle handle_3) Removes a connected script function from an I/O event on the passed entity.
entindex int entindex() No Description Set
FireOutput void FireOutput(string outputName, handle activator, handle caller, table args, float delay) Fire an entity output
GetClassname string GetClassname() No Description Set
GetDebugName string GetDebugName() Get the entity name w/help if not defined (i.e. classname/etc)
GetEntityHandle ehandle GetEntityHandle() Get the entity as an EHANDLE
GetEntityIndex int GetEntityIndex() No Description Set
GetIntAttr int GetIntAttr(string string_1) Get Integer Attribute
GetName string GetName() No Description Set
GetOrCreatePrivateScriptScope handle GetOrCreatePrivateScriptScope() Retrieve, creating if necessary, the private per-instance script-side data associated with an entity
GetOrCreatePublicScriptScope handle GetOrCreatePublicScriptScope() Retrieve, creating if necessary, the public script-side data associated with an entity
GetPrivateScriptScope handle GetPrivateScriptScope() Retrieve the private per-instance script-side data associated with an entity
GetPublicScriptScope handle GetPublicScriptScope() Retrieve the public script-side data associated with an entity
RedirectOutput void RedirectOutput(string string_1, string string_2, handle handle_3) Adds an I/O connection that will call the named function on the passed entity when the specified output fires.
RemoveSelf void RemoveSelf() Delete this entity
SetIntAttr void SetIntAttr(string string_1, int int_2) Set Integer Attribute


CDOTABaseAbility

extends CBaseEntity

No Description Set

Function Signature Description
CanAbilityBeUpgraded <unknown> CanAbilityBeUpgraded()
CastAbility void CastAbility() No Description Set
ContinueCasting bool ContinueCasting() No Description Set
CreateVisibilityNode void CreateVisibilityNode(Vector vLocation, float fRadius, float fDuration) No Description Set
DecrementModifierRefCount void DecrementModifierRefCount() No Description Set
EndChannel void EndChannel(bool bInterrupted) Param: bool bInterrupted
EndCooldown void EndCooldown() Clear the cooldown remaining on this ability.
GetAbilityDamage int GetAbilityDamage() No Description Set
GetAbilityDamageType int GetAbilityDamageType() No Description Set
GetAbilityIndex int GetAbilityIndex() No Description Set
GetAbilityName string GetAbilityName() No Description Set
GetAbilityTargetFlags int GetAbilityTargetFlags() No Description Set
GetAbilityTargetTeam int GetAbilityTargetTeam() No Description Set
GetAbilityTargetType int GetAbilityTargetType() No Description Set
GetAbilityType int GetAbilityType() No Description Set
GetAnimationIgnoresModelScale bool GetAnimationIgnoresModelScale() No Description Set
GetAssociatedPrimaryAbilities string GetAssociatedPrimaryAbilities() No Description Set
GetAssociatedSecondaryAbilities string GetAssociatedSecondaryAbilities() No Description Set
GetAutoCastState bool GetAutoCastState() No Description Set
GetBackswingTime float GetBackswingTime() No Description Set
GetBehavior int GetBehavior() No Description Set
GetCaster handle GetCaster() No Description Set
GetCastPoint float GetCastPoint() No Description Set
GetCastRange int GetCastRange(Vector vLocation, handle hTarget) No Description Set
GetChannelledManaCostPerSecond int GetChannelledManaCostPerSecond(int iLevel) No Description Set
GetChannelStartTime float GetChannelStartTime() No Description Set
GetChannelTime float GetChannelTime() No Description Set
GetCloneSource handle GetCloneSource() No Description Set
GetConceptRecipientType int GetConceptRecipientType() No Description Set
GetCooldown float GetCooldown(int iLevel) Get the cooldown duration for this ability at a given level, not the amount of cooldown actually left.
GetCooldownTime float GetCooldownTime() No Description Set
GetCooldownTimeRemaining float GetCooldownTimeRemaining() No Description Set
GetCursorPosition Vector GetCursorPosition() No Description Set
GetCursorTarget handle GetCursorTarget() No Description Set
GetCursorTargetingNothing bool GetCursorTargetingNothing() No Description Set
GetDuration float GetDuration() No Description Set
GetGoldCost int GetGoldCost(int iLevel) No Description Set
GetGoldCostForUpgrade int GetGoldCostForUpgrade(int iLevel) No Description Set
GetHeroLevelRequiredToUpgrade int GetHeroLevelRequiredToUpgrade() No Description Set
GetIntrinsicModifierName string GetIntrinsicModifierName() No Description Set
GetLevel int GetLevel() Get the current level of the ability
GetLevelSpecialValueFor table GetLevelSpecialValueFor(string szName, int nLevel) No Description Set
GetManaCost int GetManaCost(int iLevel) No Description Set
GetMaxLevel int GetMaxLevel() No Description Set
GetModifierValue float GetModifierValue() No Description Set
GetModifierValueBonus float GetModifierValueBonus() No Description Set
GetPlaybackRateOverride float GetPlaybackRateOverride() No Description Set
GetSharedCooldownName string GetSharedCooldownName() No Description Set
GetSpecialValueFor table GetSpecialValueFor(string szName) No Description Set
GetStolenActivityModifier string GetStolenActivityModifier() No Description Set
GetToggleState bool GetToggleState() No Description Set
HeroXPChange bool HeroXPChange(float flXP) No Description Set
IncrementModifierRefCount void IncrementModifierRefCount() No Description Set
IsActivated bool IsActivated() No Description Set
IsAttributeBonus bool IsAttributeBonus() No Description Set
IsChanneling bool IsChanneling() Returns whether the ability is currently channeling.
IsCooldownReady bool IsCooldownReady() No Description Set
IsCosmetic bool IsCosmetic(handle hEntity) No Description Set
IsFullyCastable bool IsFullyCastable() Returns whether the ability can be cast.
IsHidden bool IsHidden() No Description Set
IsHiddenWhenStolen bool IsHiddenWhenStolen() No Description Set
IsInAbilityPhase bool IsInAbilityPhase() Returns whether the ability is currently casting.
IsItem bool IsItem() No Description Set
IsOwnersGoldEnough bool IsOwnersGoldEnough(int nIssuerPlayerID) No Description Set
IsOwnersGoldEnoughForUpgrade bool IsOwnersGoldEnoughForUpgrade() No Description Set
IsOwnersManaEnough bool IsOwnersManaEnough() No Description Set
IsPassive bool IsPassive() No Description Set
IsSharedWithTeammates bool IsSharedWithTeammates() No Description Set
IsStealable bool IsStealable() No Description Set
IsStolen bool IsStolen() No Description Set
IsToggle bool IsToggle() No Description Set
IsTrained bool IsTrained() No Description Set
MarkAbilityButtonDirty void MarkAbilityButtonDirty() Mark the ability button for this ability as needing a refresh
NumModifiersUsingAbility int NumModifiersUsingAbility() No Description Set
OnAbilityPhaseInterrupted void OnAbilityPhaseInterrupted() No Description Set
OnAbilityPhaseStart bool OnAbilityPhaseStart() No Description Set
OnAbilityPinged void OnAbilityPinged(int nPlayerID) No Description Set
OnChannelFinish void OnChannelFinish(bool bInterrupted) No Description Set
OnChannelThink void OnChannelThink(float flInterval) No Description Set
OnHeroCalculateStatBonus void OnHeroCalculateStatBonus() No Description Set
OnHeroLevelUp void OnHeroLevelUp() No Description Set
OnInventoryContentsChanged void OnInventoryContentsChanged() No Description Set
OnOwnerDied void OnOwnerDied() No Description Set
OnOwnerSpawned void OnOwnerSpawned() No Description Set
OnSpellStart void OnSpellStart() No Description Set
OnToggle void OnToggle() No Description Set
OnUpgrade void OnUpgrade() No Description Set
PayGoldCost void PayGoldCost() No Description Set
PayGoldCostForUpgrade void PayGoldCostForUpgrade() No Description Set
PayManaCost void PayManaCost() No Description Set
PlaysDefaultAnimWhenStolen bool PlaysDefaultAnimWhenStolen() No Description Set
ProcsMagicStick bool ProcsMagicStick() No Description Set
RefCountsModifiers bool RefCountsModifiers() No Description Set
RefundManaCost void RefundManaCost() No Description Set
ResetToggleOnRespawn bool ResetToggleOnRespawn() No Description Set
SetAbilityIndex void SetAbilityIndex(int iIndex) No Description Set
SetActivated void SetActivated(bool bActivated) No Description Set
SetChanneling void SetChanneling(bool bChanneling) No Description Set
SetHidden void SetHidden(bool bHidden) No Description Set
SetInAbilityPhase void SetInAbilityPhase(bool bInAbilityPhase) No Description Set
SetLevel void SetLevel(int iLevel) Sets the level of this ability.
SetOverrideCastPoint void SetOverrideCastPoint(float flCastPoint) No Description Set
SetRefCountsModifiers void SetRefCountsModifiers(bool bRefCounts) No Description Set
SetStolen void SetStolen(bool bStolen) No Description Set
ShouldUseResources bool ShouldUseResources() No Description Set
SpeakAbilityConcept void SpeakAbilityConcept(int iConcept) No Description Set
SpeakTrigger bool SpeakTrigger() No Description Set
StartCooldown void StartCooldown(float flCooldown) param: flCooldown
ToggleAbility void ToggleAbility() No Description Set
ToggleAutoCast void ToggleAutoCast() No Description Set
UpgradeAbility void UpgradeAbility(bool bSupressSpeech) No Description Set
UseResources void UseResources(bool bMana, bool bGold, bool bCooldown) No Description Set


CDOTA_Ability_Animation_Attack

extends CDOTABaseAbility

No Description Set

Function Signature Description
SetPlaybackRate void SetPlaybackRate(float flRate) Override playbackrate


CDOTA_Ability_Animation_TailSpin

extends CDOTABaseAbility

No Description Set

Function Signature Description
SetPlaybackRate void SetPlaybackRate(float flRate) Override playbackrate


CDOTA_Ability_Nian_Leap

extends CDOTABaseAbility

No Description Set

Function Signature Description
SetPlaybackRate void SetPlaybackRate(float flRate) Override playbackrate


CDOTA_Ability_Nian_Dive

extends CDOTABaseAbility

No Description Set

Function Signature Description
SetPlaybackRate void SetPlaybackRate(float flRate) Override playbackrate


CDOTA_Ability_Nian_Roar

extends CDOTABaseAbility

No Description Set

Function Signature Description
GetCastCount int GetCastCount() Number of times Nian has used the roar


CDOTA_Item

extends CDOTABaseAbility

No Description Set

Function Signature Description
GetContainer handle GetContainer() Get the container for this item.
GetCost int GetCost() No Description Set
GetCurrentCharges int GetCurrentCharges() Get the number of charges this item currently has.
GetInitialCharges int GetInitialCharges() Get the initial number of charges this item has.
GetPurchaser handle GetPurchaser() Get the purchaser for this item.
GetPurchaseTime float GetPurchaseTime() Get the purchase time of this item
GetShareability int GetShareability() No Description Set
IsAlertableItem bool IsAlertableItem()
IsCastOnPickup bool IsCastOnPickup()
IsCombinable bool IsCombinable()
IsDisassemblable bool IsDisassemblable()
IsDroppable bool IsDroppable()
IsItem bool IsItem()
IsKillable bool IsKillable()
IsMuted bool IsMuted()
IsPermanent bool IsPermanent() Is this a permanent item?
IsPurchasable bool IsPurchasable()
IsRecipe bool IsRecipe()
IsRecipeGenerated bool IsRecipeGenerated()
IsSellable bool IsSellable()
IsStackable bool IsStackable()
LaunchLoot void LaunchLoot(bool useOnContact, float height, float speed, Vector destination) For items lying on the ground. Fires the item up into the air so that it lands at the specified position.
LaunchLootInitialHeight void LaunchLootInitialHeight(bool bAutoUse, float flInitialHeight, float flLaunchHeight, float flDuration, Vector vEndPoint)
RequiresCharges bool RequiresCharges()
SetCurrentCharges void SetCurrentCharges(int iCharges) Set the number of charges on this item
SetPurchaser void SetPurchaser(handle hPurchaser) Set the purchaser of record for this item.