Closed main-gi closed 3 years ago
I have tested the Gem/TT indicator code myself, haven't tested level descriptions but there shouldn't be a problem there, I took account of needing to escape the quotes.
I am confused about why the prefs are actually defined like
$pref::DefaultFontPointPopups
and not$pref::DefaultFont["PointPopups"]
like in the code though. I mean, it still worked though (the same works forDefaultFontItalic
vs.DefaultFont["Italic"]
in the actual code).
The reason is torquescript arrays aren't real. they just append the string to the variable name. So with or without the brackets, it's actually the same variable.
I have tested the Gem/TT indicator code myself, haven't tested level descriptions but there shouldn't be a problem there, I took account of needing to escape the quotes.
I am confused about why the prefs are actually defined like
$pref::DefaultFontPointPopups
and not$pref::DefaultFont["PointPopups"]
like in the code though. I mean, it still worked though (the same works forDefaultFontItalic
vs.DefaultFont["Italic"]
in the actual code).