Thread Tools Display Modes
Prev Previous Post   Next Post Next
02-07-05, 04:16 PM   #37
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
 

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Script Possibilities


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off