Thread Tools Display Modes
09/02/14, 04:01 PM   #1
klaro00
 
klaro00's Avatar
Join Date: Apr 2014
Posts: 31
Can't find quest tracker event (key T)

Hi out there,

assuming standard key binding: which event is thrown when hitting "T" (quest tracker)? Or is there another way to find out the assisted quest was changed by the user, like registering at a certain control using a certain "OnFooBar" event?

Regards,
Klaro
  Reply With Quote
09/02/14, 04:36 PM   #2
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
I found these callbacks:
Lua Code:
  1. -- self is FOCUSED_QUEST_TRACKER
  2. self:FireCallbacks("QuestTrackerInitialUpdate")
  3. self:FireCallbacks("QuestTrackerTrackingStateChanged", self, true, trackType, arg1, arg2)
  4. self:FireCallbacks("QuestTrackerRefreshedMapPins", journalIndex)
trackType, arg1, arg2 seem come from GetTrackedByIndex(i) http://wiki.esoui.com/API#Quest,

Lua Code:
  1. FOCUSED_QUEST_TRACKER:RegisterCallback(cbName, cbFunc)
  Reply With Quote
09/03/14, 01:22 PM   #3
klaro00
 
klaro00's Avatar
Join Date: Apr 2014
Posts: 31
Thanks,

Lua Code:
  1. FOCUSED_QUEST_TRACKER:RegisterCallback("QuestTrackerTrackingStateChanged",  func)

is what I was looking for!!!
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Can't find quest tracker event (key T)


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off