ESODecoded

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
		end

Short excerpt from the shipping addon Map Pinsits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Map Pins8,061,548
LibCombat5,017,654
WritWorthy2,484,332
AlphaGear 2 (Builds, Gear, Skills, Banking)848,683
Wykkyd Outfitter632,442
Assist Rapid Riding629,563