ESODecoded

GetAbilityName

ESO Lua API function — used by 197 of the 3,030 addons we indexed (combined 54,399,192 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetAbilityName(integer abilityId, string casterUnitTag)

Returns: string abilityName

Real usage — from Map Pins

				elseif data[2]==25 then	--Mundus
					local pinTag={[1]=i,name=GetAbilityName(data[3]),texture="/esoui/art/icons/poi/poi_mundus_complete.dds"} pinTag.desc=MundusDescription[ data[3] ]
					local id=_G[CustomPins[i].name] PinManager:Crea

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
Action Duration Reminder6,522,011
AUI - Advanced UI5,406,091
Srendarr - Aura, Buff & Debuff Tracker5,058,870
LibCombat5,017,654
Code's Combat Alerts4,445,158