GetNumSkillLines
ESO Lua API function — used by 63 of the 3,030 addons we indexed (combined 27,817,215 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetNumSkillLines([SkillType|#SkillType] skillType)Returns: integer numSkillLines
Real usage — from Map Pins
if SavedVars[15] then
for i=1,GetNumSkillLines(5) do
if GetSkillAbilityId(5,i,1,false)==103478 then PsijicSkillLine=i break endShort excerpt from the shipping addon Map Pins — 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 |
|---|---|
| Map Pins | 8,061,548 |
| LibQuestData | 4,916,044 |
| HodorReflexes - DPS & ULT tracker | 3,446,840 |
| WritWorthy | 2,484,332 |
| Foundry Tactical Combat (FTC) | 1,097,601 |
| RuESO | 870,904 |