-
Posted by Breen on Mon, 21 Sep 2009 01:31:40
Is there anyway to add to a quest link's popup, so if you click on a quest that someone sends you the addon could add some text to the bottom of the popup? I took a look at OnTooltipSetQuest but that doesn't seem to work. I took a look at OnTooltipSetItem, but that only works for the item tooltip and not item links (even though they show identical information). Any help would be most appreciated.
Thanks in advance Breen
-
Posted by jnwhiteh on Mon, 21 Sep 2009 06:38:14
That's the right script to use, you just need to set it on ItemRefTooltip (the static one) instead of GameTooltip.
/run ItemRefTooltip:SetScript("OnTooltipSetQuest", function(self) print("Got a quest") end)
-
Posted by Breen on Mon, 21 Sep 2009 09:08:15
That worked perfectly.
Thank you for your help