View Single Post
10-02-08, 08:54 AM   #9
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
Join Date: May 2006
Posts: 281
Originally Posted by zork View Post
Please post the code of your fontstring, helper and the portrait.
In the example above i didn't use any helper, here it is though

Code:
	self.Health.value = SetFontString(self.Health, font,(unit == 'player' or unit == 'target') and 10 or 9)
Code:
			self.Portrait = CreateFrame('PlayerModel', nil, self)
			self.Portrait.type = '3D'
			self.Portrait:SetAlpha(.25)
			self.Portrait:SetPoint('TOPLEFT', self.Health, 'TOPLEFT', 0, -.5)
			self.Portrait:SetPoint('BOTTOMRIGHT', self.Health, 'BOTTOMRIGHT', .5, -.5)
In this case, it looks ok but isn't really useable, if i increase the alpha, the value and also the health bar progression are impossible to see.
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }

Last edited by Caellian : 10-02-08 at 08:56 AM.