Thread Tools Display Modes
Prev Previous Post   Next Post Next
05-27-11, 01:34 AM   #1
leizeQ
A Murloc Raider
 
leizeQ's Avatar
AddOn Compiler - Click to view compilations
Join Date: Jun 2008
Posts: 8
Portrait:SetModelScale(number)

Hi.

I am trying to change the model scale of the player portrait.
i've tried to use the Portrait:PostUpdate() function but without success.

Code:
self.Portrait.PostUpdate = function(self, unit) self:SetModelScale(0.5) end
is it overwritten somewhere else?, is the SetModelScale not the right function to use? or am I missing some other stuff.

thanks.

edit: already answered, please disregard. i can post the solution if anyone has interest

Last edited by leizeQ : 05-27-11 at 01:43 AM.
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Portrait:SetModelScale(number)


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