Thank you so much. This helped me solving my problems.
- Curse Premium
Member for 12 years, 4 months, and 24 days
Last active Tue, Feb, 26 2019 01:26:41
- 0 Followers
- 4 Total Posts
- 0 Thanks
Oct 29, 2010Ok, I got one step further. I recognized that AddQuestWatch and RemoveQuestWatch are the right ones to add and remove from blizz tracker.Posted in: Need Help?
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?
Oct 29, 2010Hi all,Posted in: Need Help?
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) endRegards,
- To post a comment, please login or register a new account.