Originally Posted by Kendian
You need to thin the width and lengthen the height of the text box, because I assure it does, although it IS pretty basic~
|
I must be doing something wrong, i open stuf, go to pet, choose text 1 and select "use custom lua", then i paste this in there and press ok ->
Code:
function(unit, cache, textframe)
local name = UnitName( unit )
if name ~= nil then
local strLen = strlen( name )
local tmp = ''
local outStr = ''
if strLen > 14 then
strLen = 14
end
for i = 1, strLen, 1 do
tmp = strsub( name, i, i )
if i == 1 then
outStr = outStr..tmp
else
outStr = outStr..'\n'..tmp
end
end
return '%s', outStr
end
end
After this nothing appears, i tryed changing the width, height, font size, strata, everything.
What am i doing wrong?