View Single Post
05/01/14, 05:33 AM   #8
Flagrick
 
Flagrick's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 24
I think there is something to do with it
Code:
EVENT_QUEST_TOOL_UPDATED (luaindex journalIndex, string questName)
we have journalIndex.

then, perhaps, we could find the questTool info with a loop on toolindex (0 to 10 for example)
Code:
GetQuestToolInfo(luaindex journalQuestIndex, luaindex toolIndex)
Returns: string iconFilename, integer stackCount, bool isUsable, string name
then a comparison on name could do the job to be sure we've got our quest item

I will try it.
  Reply With Quote