Thread Tools Display Modes
Prev Previous Post   Next Post Next
02-25-15, 03:10 PM   #1
Quarrion
A Defias Bandit
Join Date: Feb 2015
Posts: 2
[Good Damage Font] Combat Text - Outline

Hello to everyone.

I was wondering if someone can help me add Outline to the Good Damage Font Addon lua code.
I want to make it look like the combat text from the old WoW Alpha/Beta, but I don't know how to add the outline to the combat text. I hope you guys can help me.

Here's the code:
gdFont = CreateFrame("Frame", "gdFont");

local GD_FONT_NUMBER = "Interface\\AddOns\\gdFont\\Fonts\\SKURRI.ttf";

function gdFont:ApplySystemFonts()

DAMAGE_TEXT_FONT = GD_FONT_NUMBER;

end

gdFont:SetScript("OnEvent",
function()
if (event == "ADDON_LOADED") then
gdFont:ApplySystemFonts()
end
end);
gdFont:RegisterEvent("ADDON_LOADED");

gdFont:ApplySystemFonts()

Last edited by Quarrion : 02-25-15 at 03:16 PM.
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » [Good Damage Font] Combat Text - Outline


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off