Page 1 of 1

RenderText

Posted: Thu Jul 14, 2011 6:57 pm
by panurge
Some noobie questions about the RenderText component, which i still do not get completely...

Is there a way not to use it, eg. in order to print text using scripts (some kind of "print() function)? My objective is to print a given string, but i only managed to print fixed text and float values using RenderText.

Thanks in advance :)

Posted: Thu Jul 14, 2011 8:20 pm
by Kjell
:?

You can simply set the Text property of RenderText using a ZExpression .. but maybe you mean something else? In any case, have a look at the attached example.

K

Posted: Thu Jul 14, 2011 9:52 pm
by panurge
Ehehe, i know i make silly questions :lol:
Anyway, i think it helped, thanks! (i'll gonna post a little sample in the "project" forum, if you are interested)

Also, i see that "\n" works as newline character... slurppp

thanks again Kjell