View Single Post
10-27-22, 09:01 AM   #1
Uitat
A Chromatic Dragonspawn
 
Uitat's Avatar
AddOn Author - Click to view addons
Join Date: May 2011
Posts: 162
CreateFontString issue

beating my head against the door on this one.

if anyone has come across something like this and has solved the issue i would be glad to have a hand

Lua Code:
  1. derArtifactBar.Text=derArtifactBar:CreateFontString(nil, "HIGH", "GameFontNormal")

is giving me 3 errors 2 are arbitrary and just telling me to look at the file, however the last is what got my attention

1x bad argument #3 to '?' (Usage: local line = self:CreateFontString([name, drawLayer, templateName]))
[string "=[C]"]: in function `CreateFontString'
[string "@Interface/AddOns/_Deranjata/modules/xpbar/artxp.lua"]:20: in main chunk

Locals:
(*temporary) = "bad argument #3 to '?' (Usage: local line = self:CreateFontString([name, drawLayer, templateName]))"
__________________
  Reply With Quote