View Single Post
07/08/14, 03:32 AM   #8
Faustus
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 18
Originally Posted by zgrssd View Post
On a side note, storing them by thier INT index is not a good idea. If the order changes between patches this could break the assignment.
However there is a way to get internal constant names instead that allow proper mapping of Category Number and Saved Values if the order should change:
http://www.esoui.com/forums/showthread.php?t=1878

I just need to finally work that into UCT. Still using old int-based storage.
Like you said in your post, The channel id from GetChatChannelId() appears to be different from the category number. For example, GetChatChannelId("zone") returns 31, but the category number for zone is 6.

Not sure how to directly get the category number.

Also, I updated the wiki with all the category numbers I determined by manually testing:
http://wiki.esoui.com/SetChatCategoryColor

Last edited by Faustus : 07/08/14 at 04:07 AM.
  Reply With Quote