WoWInterface - View Single Post - Get NPC Name
Thread: Get NPC Name
View Single Post
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