How to hide any assistant

From ESOUI Wiki

Jump to: navigation, search

If you want to hide all your currently shown assistants you can make use of the collectible manager:

function hideActiveAssistants()
   local activeAssistantId = GetActiveCollectibleByType(COLLECTIBLE_CATEGORY_TYPE_ASSISTANT)
   if activeAssistantId ~= 0 then
      local collectibleData = ZO_COLLECTIBLE_DATA_MANAGER:GetCollectibleDataById(activeAssistantId)
      collectibleData:Use()
   end
end
Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox