GameTooltip Issue
Trying to understand GameTooltip but for some reason not working as intended (reading tooltips)
Code:
function vQC_ToolTips(self) This will NOT give me QuestID into chat, also x.Numlines shows 3 when it's 11 http://prntscr.com/vqv2ya But this one will, while this x.NumLines shows 12 properly https://prnt.sc/vqv3fx So what am i missing? Im trying to extract all information from whomever's addon's tooltip created |
What exactly is your goal? Depending on what you intend to do, there are probably better ways in getting this info than tooltip scanning.
|
Just reading the tooltip, was looking for LeftText "Quest ID" then pull the info on RightText with actual "#". No modification or anything.
|
Reading tooltips is a desperate last-ditch effort to get information. From your screenshots, another addon is putting that into there, which means it's getting it form somewhere else to display it. The only thing I can suggest at this time is to look at that addon's code to see where it's getting that information from.
If you need further help, I need to know what addon you're trying to grab this from. If there's more to your code, it'll help to show all of it for context. |
Its trying to read from AllTheThings.lua that generate tooltips. Most tooltip I could read and pull information, some cannot. I might have to ask the author and see if something can be fixed in regard to tooltip or of some sort.
|
If you're really set on tooltips, you might try looking at ItemRefTooltip that handles chat links.
|
All times are GMT -6. The time now is 06:17 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI