GetUnitCaption

From ESOUI Wiki

Jump to: navigation, search

This function returns the caption text for a unit. For NPCs, the caption is the text identifying their role in the game, e.g. "Stablemaster."

Arguments

unitTag
A string representing a unit tag.

Example

if GetUnitCaption("reticleover") == "Stablemaster" then
   d("Feel like increasing your mounted movement speed, perhaps?")
end

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox