View Single Post
02-07-05, 04:16 PM   #41
aaronsullivan
A Deviate Faerie Dragon
Join Date: Jan 2005
Posts: 12
One question answered

Well, I figured out how to get the second line of info from an npc.

You use the GetTooltipText2:something or other. (Don't have the code in front of me) Basically you can't get it from the target info any way I know of, but you CAN get it from the current tooltip text. Generally, the last tooltip someone is going to get before clicking on a target is going to be the tooltip for the target itself, so it's easy to match up the info.

Anyway, it's just what I needed. I can give more details if anyone is interested.

I still don't have a way to get a target's position, but I've noticed that AddOn's you might expect would get a target's position use the player's position instead, which is the method I'm already using.

Still, if anyone knows of a way, I'm interested. Seems like a harmless hook for Blizzard to add.
  Reply With Quote