Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Portrait = CreateFrame('PlayerModel', nil, self)
- Portrait:SetBackdrop(backdrop)
- Portrait:SetBackdropColor(0, 0, 0, .9)
- Portrait:SetWidth(27*3)
- Portrait:SetHeight(27*2)
- FreeUI.CreateBD(Portrait)
- if(unit == 'player' or unit == 'focus' or unit == 'pet' or unit == 'party') then
- Portrait:SetPoint('BOTTOMLEFT', self, 'BOTTOMLEFT', -92, -26)
- elseif(unit == 'target') then
- Portrait:SetPoint('BOTTOMLEFT', self, 'BOTTOMRIGHT', 11, -26)
- end
- self.Portrait = Portrait
Add Comment
Please, Sign In to add comment