Thread Tools Display Modes
Prev Previous Post   Next Post Next
03-26-09, 08:21 AM   #1
Darthgnomer
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 7
How do you find out a NPC's faction?

How do you find out a NPC's faction?

If I mouse over a NPC in the Scryer area of Shatt or one of the many mage looking NPCs in Dalaran my cursor tooltip will reveal their faction such as 'The Scryers' or 'Kirin Tor' for these examples respectively.

How can I find out this information for an addon? I've looked around the APIs on WoWWiki and tried to reverse engineer CowTip but I am lost. Any information or simple examples would be very appreciated.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » How do you find out a NPC's faction?


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