ESOUI - View Single Post - [notabug] GetOufitName(index) is not working
View Single Post
06/03/21, 01:19 PM   #2
Super Moderator
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 3,700
This is not a bug but the outfit parameters of nearly all functions changed:

Most outfit functions need an actor parameter now as outfits can be used on the player and the companion!

Always make sure you check the "most up2date" API functions file linked at the Wiki for the current game version:
-> The link at "API TXT Documentation"

Open the txt file and search for the function, and check the parameters and values needed

Lua Code:
  1. * GetOutfitName(*[GameplayActorCategory|#GameplayActorCategory]* _actorCategory_, *luaindex* _outfitIndex_)
  2. ** _Returns:_ *string* _name_

Make sure to check all outfit API functions and usages of ZO_OUTFIT_MANAGER (like function EquipOutfit) etc. for the first parameter GameplayActorCategory now. Possible values are:
h5. GameplayActorCategory

Last edited by Baertram : 06/03/21 at 01:23 PM.