Originally Posted by ObjectMetadata
Hi votan,
your solution prints all quests that are currently tracked. However I just need the ID of the one quest that is currently displayed in the top right corner, not all quests. Or am I missing something in your solution?
|
ah, yes. How stupid, I forgot:
Lua Code:
for i = 1,QUEST_TRACKER:GetNumTracked() do
local entry = QUEST_TRACKER:GetTrackedByIndex(i)
if GetTrackedIsAssisted(TRACK_TYPE_QUEST, entry:GetJournalIndex()) then
d(GetJournalQuestName(entry:GetJournalIndex()))
end
end