SO! what i whant to do? :p it s simple, i want to put a specific font in place of the combat text ....
uhm , i'll show to you a screen shoot :)
http://thorase75.free.fr/police.jpg
like you can see i do it :) *happy*
my source is that for the moment:
Code:
local flo_FONT = "Interface\\AddOns\\flo\\font\\DESTRUCCION.ttf";
DAMAGE_TEXT_FONT = flo_FONT;
it s work :D BUT.... there is a probleme, my font is wonderful on the screen cause it s a critical hit.... but with normal hit it s too small... i can t read :(
so i want to know HOW do to set a size....
i tryed:
CombatTextFont:SetFont(DAMAGE_TEXT_FONT, 200);
CombatTextFont:SetFont(flo_FONT, 200);
but don t work :/
if you know the solution of my probleme it will be very nice :)
(very sorry for my very crap english)|||Quote:
SO! what i whant to do? :p it s simple, i want to put a specific font in place of the combat text ....
The syntax I believe is
Object:SetFont(font, size, style), so
Code:
Object:SetFont("Interface\\AddOns\\flo\\font\\DESTRUCCION.ttf", 15, "OUTLINE")
The Object you apply this to needs to be the non-crit text.
At a guess, it might be NumberFont_Outline_Med.
So you'd have
Code:
NumberFont_Outline_Med:SetFont("Interface\\AddOns\\flo\\font\\DESTRUCCION.ttf", 15, "OUTLINE")
No comments:
Post a Comment