View Single Post
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