Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.SetAbilityByIndex

From Valve Developer Community
< Dota 2 Workshop Tools‎ | Scripting‎ | API
Revision as of 22:56, 8 May 2016 by Robincode (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Note.png Note:  This page is automatically generated. Any changes may be overwritten

Function Description

void SetAbilityByIndex(handle hAbility, int iIndex)

change ability index.

local ability = hero:GetAbilityByIndex(0)


Type Name Description
handle hAbility No Description Set
int iIndex No Description Set