View Single Post
06/12/21, 05:31 PM   #4
ExoY
 
ExoY's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2020
Posts: 88
"Mirri Elandis" id = 9353
"Bastian Hallix" id = 9245

I use those ID's in combination with the function "UseCollectible( *id* ) to summon and unsommon the companions.


for future references: this is the function I wrote to find collectible Ids:

Lua Code:
  1. function Development.FindCollectibles( str, limit) 
  2.   local output = false
  3.   for id=1,type(limit)=="number" and limit or 10000 do
  4.     local collectible = string.lower( GetCollectibleName(id) )
  5.     if string.find(collectible, string.lower(str)) then
  6.       d( zo_strformat("<<1>> <<2>>", id, collectible) )
  7.       output = true
  8.     end
  9.   end
  10.   if not output then d("no collectible found") end
  11. end

Last edited by ExoY : 06/12/21 at 05:37 PM.
  Reply With Quote