02-26-09, 12:46 PM
|
#825
|
A Warpwood Thunder Caller
Join Date: Mar 2005
Posts: 94
|
Originally Posted by haste
Code:
local pvpFlag = self.Health:CreateFontString(nil, 'OVERLAY', 'GameFontHighlightLeft')
pvpFlag:SetPoint('LEFT', 3, 0)
The :SetPoint() is the same as:
Code:
pvpFlag:SetPoint('LEFT', pvpFlag, 'LEFT', 3, 0)
To throw it outside the frame you have to do:
Code:
pvpFlag:SetPoint('RIGHT', self, 'LEFT', 3, 0)
|
Thanks Haste!
__________________
Busy modifying your code for my own UI.
|
|
|