Quantcast NPC Id - ESOUI
Thread Tools Display Modes
03/18/20, 08:15 AM   #1
Join Date: Sep 2018
Posts: 1

Can I somehow find out UnitId by analogy with GetUnitName(string unitTag)?
For example Archmaster Siniel it's 8737

Last edited by Crunatus : 03/18/20 at 09:28 AM.
  Reply With Quote
03/18/20, 08:33 AM   #2
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 2,709
I doubt there is a unique unitId for each NPC in the game.
At least it wasn't in the past afaik.

Most of the GetUnit... functions use the unitTag (no id) which is a string like
"group1" etc and only work for yourself or group/guild members.

e.g. GetUnitName("player") will return your own character's name.
But I doubt you can use GetUnitName(npc).
Maybe only if you move the mouse over it and use this code:

The 8738 seems to be an internal ID used on the UESP website. Not sure if this is also an ID used within the ESO code somewhere.

Last edited by Baertram : 03/18/20 at 08:35 AM.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » NPC Id

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