View Single Post
03/09/21, 11:23 AM   #6
Sharlikran
 
Sharlikran's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 660
While I do update it, I have not yet because I have been busy. LibQuestData can return the ID of the quest if you give it the name with get_questids_table(name, lang) but it will return a table because some names are duplicated. About the only way to use that for what you need is to call the function and then check if the table has only one value. If it does then you can just use the ID number for the quest.

if #theTable == 1 then yourVar = theTable[1] end

Again probably better using UESP, but up to you.
  Reply With Quote