Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Portraits.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off