Thread: Portraits.
View Single Post
07-05-10, 06:49 PM   #1
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 784
Portraits.

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

Last edited by Aftermathhqt : 07-05-10 at 07:17 PM.
  Reply With Quote