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.
|