Quick Sign In:  

Forum: Addons

Topic: Text
Discussion about Text
 

Posted Wed 28 Nov 18 @ 12:01 am
Scripting to make "Text" display whatever is needed is OK

effect_string 'text' 2 "Whateveryouwanty"

but are there some other possibilities ?
- toggle scrolling
- select/specify color
- set placement & size
- choose/specify font
 

Here's what i found

effect_button text 1 - position editor switch
effect_button text 2 - scroll switch
effect_button text 3 - outline colour switch

effect_string text 1 - font
effect_string text 2 - text string
effect_string text 3 - text preset
 

the font type does not work, for example the Arial family, the text remains unchanged
 

Also, FWIW, there seems to be a character count limit as well. I'm on the latest version of the Mac version on a M2 laptop.... Not a deal breaker, but longer stings of text would be nice
 

Not strictly char count, it's related to pixels in the texture, I've ran into this problem with my easyKRM plugin, [long list of singer names] I included \r to break the string into smaller sections that are printable.
 

...related to pixels in the texture...

Yep. got it. Guessing the text file can only be so many pixels "wide". I'm going to look for a more narrow font, which might give me a just a bit more to include what I need......
 

If you split the text in several lines, then the limit is per line, so you can have almost infinite total length.
 

Wow!

Great!

Thanks for the advice and input. That has solved my problem.