Thanks for your help again.
I think mouseovertarget will partially solve my problem.
I will now have two variables:
UnitIDsTarget = ("mouseovertarget")
local player = UnitGUID("player")
is there a function that allows to compare variables not selectors?
Something like: UnitIsUnit(UnitIDsTarget, player). Because errors I've been getting with this make me think that this function is only for selectors.
|