GetUnitBuffInfo

From ESOUI Wiki

Jump to: navigation, search

Description:

This function retrieves information on the buffs for a specified unitTag

Example:

function GetBuffs()

local buffNames = {}
local unitTag = "player"
local numberOfBuffs = GetNumBuffs(unitTag)
for i = 0, numberOfBuffs do
local buffName, timeStarted, timeEnding, buffSlot, stackCount, textureName, iconFilename, buffType, effectType, abilityType, statusEffectType, abilityId, canClickOff, castByPlayer = GetUnitBuffInfo(unitTag, i)
buffNames[i] = buffName
end

end

Returns

effectType -> 0=??? 1=???

abilityType -> 0=??? 5=???

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox