GetSkillAbilityId
ESO Lua API function — used by 31 of the 3,030 addons we indexed (combined 19,317,203 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetSkillAbilityId([SkillType|#SkillType] skillType, luaindex skillLineIndex, luaindex skillIndex, bool showUpgrade)Returns: integer abilityId
Real usage — from Map Pins
for i=1,GetNumSkillLines(5) do
if GetSkillAbilityId(5,i,1,false)==103478 then PsijicSkillLine=i break end
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 |
| LibCombat | 5,017,654 |
| WritWorthy | 2,484,332 |
| AlphaGear 2 (Builds, Gear, Skills, Banking) | 848,683 |
| Wykkyd Outfitter | 632,442 |
| Assist Rapid Riding | 629,563 |