ESODecoded

GetGroupUnitTagByIndex

ESO Lua API function — used by 177 of the 3,030 addons we indexed (combined 35,184,447 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetGroupUnitTagByIndex(luaindex sortIndex)

Returns: string:nilable unitTag

Real usage — from Srendarr - Aura, Buff & Debuff Tracker

				local frame2 = s + Srendarr.GROUP_END_FRAME
				local unitTag = GetGroupUnitTagByIndex(s)

Short excerpt from the shipping addon Srendarr - Aura, Buff & Debuff Trackerits 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
Srendarr - Aura, Buff & Debuff Tracker5,058,870
Code's Combat Alerts4,445,158
HodorReflexes - DPS & ULT tracker3,446,840
LibMapPing2,827,802
RaidNotifier Updated2,789,746
Item Set Browser1,893,031