GetUnitAlliance

From ESOUI Wiki

Jump to: navigation, search

This function returns the Alliance that a given unit belongs to.

Arguments

unitTag
The unit to check for.

Example

local alliance = GetUnitAlliance("player")
local name = GetAllianceName(alliance)
--
d(LocalizeString("You're a member of the <<1>>.", name))

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox