%roleIcon as trigger replacement would be neat
Causese opened this issue ยท 0 comments
Is your feature request related to a problem? Please describe.
Sometimes it helps to identify what role a unit has, e.g when checking the group for a debuff and wanting to know their role before making role-based decisions like assignments
Describe the solution you'd like
%roleIcon or %role as trigger replacement that also works when the unit is provided via TSU
Describe alternatives you've considered
Additional context
Function to return good looking, highly scalable icon:
function() return CreateTextureMarkup([[Interface\LFGFrame\UI-LFG-ICON-ROLES]], 256, 256, 0, 0, GetTexCoordsForRole(UnitGroupRolesAssigned(WeakAuras.me))) end