View Single Post
03/19/23, 03:44 PM   #18
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,998
Updated my answer above, the code at the bottom should be the one you are searching for (no event filter, just unitTag check for your own tag).

Edit: Updated it again and changed the unitTag == nil within LGRI.UpdateMyRole to a ~= nil check, so hat your call from EM:RegisterForEvent(LGRI.name .. "ILeftGroup", EVENT_GROUP_MEMBER_LEFT, still works.

Last edited by Baertram : 03/19/23 at 03:54 PM.
  Reply With Quote