Thread Tools Display Modes
Prev Previous Post   Next Post Next
06/12/21, 05:12 PM   #1
Wulfrun
Join Date: Feb 2015
Posts: 9
Has anyone found the collectibleId's for companions

I want to make a slash command to toggel my companions. The following was mostly a guess on my part.

I found:
COLLECTIBLE_CATEGORY_TYPE_ASSISTANT = 8
COLLECTIBLE_CATEGORY_TYPE_COMPANION = 27
from https://esoapi.uesp.net/100035/globals.txt (2021-06-02 15:04:20). Line 83625.

Then I used GetCollectibleCategoryType(n) with n from 1 to 6000 and displayed in chat any n value with a return of 8 OR 27. All 5 of the type 8 (assistants) were returned but no type 27's were found. The assistant value was just a check to be sure it was working.

Has anyone found the correct Id or know what I might try to find the code?

Happy Trails

FYI my code:
for n = 1,6000,1 do
rdN = GetCollectibleCategoryType(n)
if rdN == (8 or 27) then
df("|c008FCCn= %d N= %d", n, rdN)
end
end
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » Has anyone found the collectibleId's for companions


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off