Thread Tools Display Modes
04/07/14, 04:43 PM   #1
Xzandro
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 2
Daedra or Undead - API

Hi,

quick question: is it possible to find out if thetarget is a Daedra or Undead? Would be useful...
  Reply With Quote
04/07/14, 08:38 PM   #2
ins
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 76
Originally Posted by Xzandro View Post
Hi,

quick question: is it possible to find out if thetarget is a Daedra or Undead? Would be useful...
I suppose you could go by the name, if nothing else?
  Reply With Quote
04/07/14, 09:13 PM   #3
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 369
Are they a race or class ? You could try UnitRace("target") or UnitClass("target") and see if that works but outside of that there may not be a way to know it without learning it over time.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Daedra or Undead - API


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