GetNumSkillAbilities
ESO Lua API function — used by 52 of the 3,030 addons we indexed (combined 18,714,876 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetNumSkillAbilities([SkillType|#SkillType] skillType, luaindex skillLineIndex)Returns: integer numAbilities
Real usage — from LibLazyCrafting
local abilityIndex = nil
for i = 1, GetNumSkillAbilities(skillType, skillIndex) do
local _, texture = GetSkillAbilityInfo(skillType, skillIndex, i)Short excerpt from the shipping addon LibLazyCrafting — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| LibLazyCrafting | 6,538,592 |
| HodorReflexes - DPS & ULT tracker | 3,446,840 |
| WritWorthy | 2,484,332 |
| Foundry Tactical Combat (FTC) | 1,097,601 |
| RuESO | 870,904 |
| AlphaGear 2 (Builds, Gear, Skills, Banking) | 848,683 |