Close... You didn't actually set that function to be run when the event fires.
Lua Code:
f:SetScript("OnEvent", function(self, event, addon)
f:ADDON_LOADED(addon) --or, you know, just skip the middle-man and put the code here ;)
end)
Though if you're just doing that when your addon loads, you can skip the frame creation, function calls, etc. and *just* do:
Lua Code:
DAMAGE_TEXT_FONT = "PATH\\TO\\FONT"
Originally Posted by mardok
Nice thanks for sharing but which one would change the damage font any idea ?
|
I don't entirely remember which it is. Maybe skurri?