Thread Tools Display Modes
Prev Previous Post   Next Post Next
01/13/15, 10:23 AM   #1
SnowmanDK
 
SnowmanDK's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 161
Getting npc names (is it possible?)

Is it possible to get the name of an npc that you talk to?
I am looking to grab the name of an npc offering a quest, so I can save it with the other information.
I already have my addon saving the quest name and the coordinate where I pick it up,
like this:
Lua Code:
  1. ["Quests"] =
  2.                 {
  3.                     ["Unaccounted Crew"] = "Vulkhel Guard:0.5247,0.6904/Auridon:0.6208,0.9573",
  4.                 },
but would like to add the name of the quest giver, like this:
Lua Code:
  1. ["Quests"] =
  2.                 {
  3.                     ["Unaccounted Crew"] = "Vulkhel Guard:0.5247,0.6904/Auridon:0.6208,0.9573/Captain Erronfaire",
  4.                 },
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » Getting npc names (is it possible?)


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