Hello everybody, i want to fix this
1. move the player portrait to the arrow spot.
2. Remove ToT, Pet Focus Partrait.
3. want it to stay put.
my code looks like this:
Code:
local portrait = CreateFrame("PlayerModel", nil, self)
portrait:SetBackdrop(backdrop)
portrait:SetBackdropColor(0, 0, 0, .7)
portrait:SetScript("OnShow", function(self) self:SetCamera(0) end)
portrait:SetWidth(height*3)
portrait:SetHeight(height*2)
portrait:SetPoint("BOTTOMLEFT", self, "BOTTOMRIGHT", 6, -2)
portrait.type = "3D"
self.Portrait = portrait