Originally Posted by myrroddin
RegisterUnitEvent looks for unitIDs, which are strings. "player", "target", "boss1", "raid9", etc. What you are passing is a table, which means it probably has a fallback to a valid unitID, or string.
|
Hi myrroddin,
But the problem persist even if I try these
Lua Code:
object:RegisterUnitEvent("UNIT_AURA", nil, "player");
-- or
object:RegisterUnitEvent("UNIT_AURA", "player", nil);
Originally Posted by Vrul
As long as the table has at least one entry then this should work:
Code:
object:RegisterUnitEvent(event, unpack(unit))
|
Ah! That's a great tip!
Thank you Vrul