View Single Post
11-14-14, 09:06 PM   #5
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Close... You didn't actually set that function to be run when the event fires.

Lua Code:
  1. f:SetScript("OnEvent", function(self, event, addon)
  2.      f:ADDON_LOADED(addon)  --or, you know, just skip the middle-man and put the code here ;)
  3. 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:
  1. DAMAGE_TEXT_FONT = "PATH\\TO\\FONT"


Originally Posted by mardok View Post
Nice thanks for sharing but which one would change the damage font any idea ?
I don't entirely remember which it is. Maybe skurri?
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote