Hey, i got a problem with the "Show Class Portrait Option" you can enable in oQueue.
I am playing with Default UI and using some simple scripts to modify it for me. I also use this script to show Class Portraits for all frames instead of the normal character portrait:
--Class icons instead of portraits
hooksecurefunc("UnitFramePortrait_Update",function(self)
if self.portrait then
if UnitIsPlayer(self.unit) then
local t = CLASS_ICON_TCOORDS[select(2, UnitClass(self.unit))]
if t then
self.portrait:SetTexture("Interface\\TargetingFrame\\UI-Classes-Circles")
self.portrait:SetTexCoord(unpack(t))
end
else
self.portrait:SetTexCoord(0,1,0,1)
end
end
end)
This script makes class portraits for every frame. When i enable oQueue it always ends up looking like this for player frame and target of target / focus target frame(it doesn't matter if "Show Class Portrait" Option ist on/off, always looks like in the screen).
When i disable my script oQueue class portraits are shown for target and focus and the rest is normal character portrait.
What can i do, to make Class Portraits in every frame without having to disable oQueue ):
I am playing with Default UI and using some simple scripts to modify it for me. I also use this script to show Class Portraits for all frames instead of the normal character portrait:
--Class icons instead of portraits
hooksecurefunc("UnitFramePortrait_Update",function(self)
if self.portrait then
if UnitIsPlayer(self.unit) then
local t = CLASS_ICON_TCOORDS[select(2, UnitClass(self.unit))]
if t then
self.portrait:SetTexture("Interface\\TargetingFrame\\UI-Classes-Circles")
self.portrait:SetTexCoord(unpack(t))
end
else
self.portrait:SetTexCoord(0,1,0,1)
end
end
end)
This script makes class portraits for every frame. When i enable oQueue it always ends up looking like this for player frame and target of target / focus target frame(it doesn't matter if "Show Class Portrait" Option ist on/off, always looks like in the screen).
When i disable my script oQueue class portraits are shown for target and focus and the rest is normal character portrait.
What can i do, to make Class Portraits in every frame without having to disable oQueue ):
