Thread: Quest Cache?
View Single Post
03-03-15, 12:34 PM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
If the quest is still in your quest log, it is not completed. The API is correct.

If you want to know whether a quest in your quest log is ready to turn in (all of its objectives are completed) use the API function GetQuestLogTitle instead:

Code:
local title, level, suggestedGroup, isHeader, isCollapsed, isComplete,
      frequency, questID, startEvent, displayQuestID, isOnMap, 
      hasLocalPOI, isTask, isStory = GetQuestLogTitle(index)
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.

Last edited by Phanx : 03-03-15 at 12:38 PM.
  Reply With Quote