View Single Post
01/15/20, 12:35 PM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
Welcome to ESOUI!
You are on the right track. Generally speaking when something is called "id" in the api, it is global and won't ever* change. On the other hand when it is called "index" it is local for the current context and may change at any point in time.
In the case of collectibles you can check the list on the wiki to find the id you are looking for and then use that in your code.

*some things like ability ids have changed between major game updates, but that happens rarely
  Reply With Quote