Quantcast
WoWInterface - View Single Post - Quest Cache?
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)
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!

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