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:CreaShort 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 |
| Action Duration Reminder | 6,522,011 |
| AUI - Advanced UI | 5,406,091 |
| Srendarr - Aura, Buff & Debuff Tracker | 5,058,870 |
| LibCombat | 5,017,654 |
| Code's Combat Alerts | 4,445,158 |