• 0

    posted a message on Handling Blizzard Quest Tracker / Navigation
    Thank you so much. This helped me solving my problems.

    Regards,
    Tom
    Posted in: Need Help?
  • 0

    posted a message on Handling Blizzard Quest Tracker / Navigation
    Not so far. Can you give me a hint, where or how I could find the sources? Thanks for help.

    Regards,
    Tom
    Posted in: Need Help?
  • 0

    posted a message on Handling Blizzard Quest Tracker / Navigation
    Ok, I got one step further. I recognized that AddQuestWatch and RemoveQuestWatch are the right ones to add and remove from blizz tracker.
    The only thing is, that there seems to be an incosistant behaviour for opened questlog and blizz tracker are not update and the added/removed quests are still (not) displayed. Closing and reopening the questlog will show the current status in it correctly. The blizz tracker is only updated on reload or quest status change.
    Therefore I want to change my question to: How do I manage to trigger an update of questlog display and blizz tracker display?

    Regards
    Tom
    Posted in: Need Help?
  • 0

    posted a message on Handling Blizzard Quest Tracker / Navigation
    Hi all,

    I do have some problems with the Blizzard's own Quest tracker. I am expanding my addon with a LDB implementation to have the questbook on my bars. This works so far. I tried to add some click functionality to the items in the tooltip, which also works as wanted except of the Left and Right click things. I tried to activate the follow option on a quest on a left click and make it to be the next to navigate to (make the yellow arrow in the minimap point to the quest location). On right click I wanted to remove the follow option on the quest.
    I didn't find a function so far to set/remove the follow thing. Obviously I do not use the right keywords on my search. Is anyone there who could give me a hint to the right direction?

    Here is my code:
    function QuestProgressSound:Entry_OnMouseUp( qid, button)
        if IsControlKeyDown() then
            if button == "LeftButton" then -- CTRL+Left Share Quest
                Quixote:ShareQuestByUid(qid)
            end
        elseif IsShiftKeyDown() then
            if button == "RightButton" then -- Shift+Right Abandon Quest
                local selected = GetQuestLogSelection()
                SelectQuestLogEntry(qid)
                SetAbandonQuest()
                local items = GetAbandonQuestItems()
                if items then
                    StaticPopup_Hide("ABANDON_QUEST")
                    StaticPopup_Show("ABANDON_QUEST_WITH_ITEMS", GetAbandonQuestName(), items)
                else
                    StaticPopup_Hide("ABANDON_QUEST_WITH_ITEMS")
                    StaticPopup_Show("ABANDON_QUEST", GetAbandonQuestName())
                end
                SelectQuestLogEntry(selected)
            elseif button == "LeftButton" then -- Shift+Left Link Quest in Chat
                local edit_box = ChatEdit_ChooseBoxForSend()
                ChatEdit_ActivateChat(edit_box)
                edit_box:Insert(GetQuestLink(qid))
            end
        else
            if button == "RightButton" then -- Right Remove Quest from Watchlist
                local selected = GetQuestLogSelection()
                SelectQuestLogEntry(qid)
                local index = GetQuestLogSelection()
                if index then
                    RemoveQuestWatch(index)
                    if index ~= selected then
                        SelectQuestLogEntry(selected)
                    end
                end            
            elseif button == "LeftButton" then -- Left Add Quest to Watchlist and set it as next to navigate to
                SelectQuestLogEntry(qid)
                local selected = GetQuestLogSelection()
                AddQuestWatch(selected)
            end
        end
        QuestProgressSound.dataobj.OnEnter( LDB_ANCHOR)
    end
    Regards,
    Tom
    Posted in: Need Help?
  • To post a comment, please or register a new account.