I remember years ago using a script to change character portraits to class icons. Anyone remember what that script was? I really don’t want to use any addons just for that unless I have to.
Not fully tested, but this should work:
/run hooksecurefunc("SetPortraitTexture",function(t,u) local c=CLASS_ICON_TCOORDS[select(2,UnitClass(u))] if c and UnitIsPlayer(u) then t:SetTexture("Interface\\TargetingFrame\\UI-Classes-Circles") else c={0,1,0,1} end t:SetTexCoord(unpack(c)) end)
I recommend only hitting the macro once per session. The effect will end when you logout/reload unless you turn it into an addon.
Well, it’s better than nothing. Thanks, works for now.
Hopefully no hiccups along the way.
Now I need the class nameplate color change. How to change enemy nameplate colors to red, friendly nameplate colors to blue (or white).
Also how to change it back to default should I need to for any reason.