ESODecoded

GetGroupLeaderUnitTag

ESO Lua API function — used by 49 of the 3,030 addons we indexed (combined 4,100,063 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetGroupLeaderUnitTag()

Returns: string leaderUnitTag

Real usage — from pChat (Chat customization & help: look/notification/sound/automation/history)

                rESO, gESO, bESO = ZO_ChatSystem_GetCategoryColorFromChannel(CHAT_CHANNEL_ZONE_LANGUAGE_1)
            elseif channel == CHAT_CHANNEL_PARTY and from and db.groupLeader and zo_strformat(SI_UNIT_NAME, from) == GetUnitName(GetG

Short excerpt from the shipping addon pChat (Chat customization & help: look/notification/sound/automation/history)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

AddonTotal downloads
pChat (Chat customization & help: look/notification/sound/automation/history)1,832,805
OdySupportIcons - Group Role Icons & More484,590
Faster Travel (Wayshrines menu & Teleporter)369,697
EasyTravel293,327
Shissu's Guild Tools186,581
Provinatus - Heads Up Display91,821