Thread Tools Display Modes
06/10/14, 07:34 AM   #1
Dero
 
Dero's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2014
Posts: 14
Targeting and UnitClass

Hey there. Ive got two questions.

First Question: The function

ClearTarget protected ()

is not working for me. Am i doing something wrong?

With these functions its the same:
TargetUnit protected (string unitTag)
TargetUnitByName protected (string unitName, bool exact)
TargetNearestEnemy protected ()

The Wiki says: This function is protected and can only be used out of combat. so it should work, when im out of combat, right?

The Error message says: function expected instead of nil

Second Question:

Can i use the function

GetUnitClass(string unitTag)

in any way so i can get the class of a specific player without using "reticleover" and aiming on him?

Thx so far.
  Reply With Quote
06/10/14, 09:26 AM   #2
Dero
 
Dero's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2014
Posts: 14
Found this in the last Update of the ESO API. Seems that the Wiki isnt up to date.

Removed deprecated functions:

TargetUnit
TargetUnitByName
ClearTarget
TargetNearestEnemy
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Targeting and UnitClass


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