Originally Posted by MoonWitch
local font = "Interface\\AddOnName\\font.ttf"
fontString = parentFrame:CreateFontString(nil, "OVERLAY")
fontString:SetFont(font, fontSizeOfYourChoice)
fontString:SetTextColor(r, g, b)
Note : when specifying folders in locations of files, you or use "x\\x\\x" (double \) or [=[x\x\x]=]
In your first line (self.Health.Text = self.Health:CreateFontString(nil, 'OVERLAY', 'GameFontHighlightSmallRight')) -> you are already giving a font to use. Drop that part.
|
Thanks MW, its getting late in my part of the world so i will continue my banging away at this tomarrow. I know I am close, this might be just the crack I need to get through.