Get NPC Name - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
11-27-18, 12:20 PM   #1
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Nov 2018
Posts: 2
Question Get NPC Name

I'm looking through the API and I'm trying to figure out if there's a way to get the in-game name of a character in game, specifically, a hunter pet. I have found options to get the unit name, but those return the name of the pet (the name the hunter gave the pet). I am interested in getting the in-game name. The name before the pet was tamed.

I would like to have it return "King Krush" instead of "Bigreendino". I've checked through the Pet and Unit APIs and nothing is standing out for me.
I've been playing WoW since 2007. I'm currently working on my website, Syntax Sandbox, where you'll be able to get support for my WoW addons.

Last edited by Synsanken : 11-27-18 at 12:23 PM.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Get NPC Name

Thread Tools
Display Modes

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