ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Bug Reports (https://www.esoui.com/forums/forumdisplay.php?f=187)
-   -   [notabug] GetOufitName(index) is not working (https://www.esoui.com/forums/showthread.php?t=9768)

Jodynn 06/03/21 01:16 PM

[notabug] GetOufitName(index) is not working
 
Always returns an empty string

Baertram 06/03/21 01:19 PM

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:
https://wiki.esoui.com/APIVersion#live_API_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:
Code:

h5. GameplayActorCategory
* GAMEPLAY_ACTOR_CATEGORY_COMPANION
* GAMEPLAY_ACTOR_CATEGORY_PLAYER


Jodynn 06/08/21 10:33 AM

Thank you very much, I thought I did click that one but I guess I didn't!


All times are GMT -6. The time now is 11:27 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI