RenderText

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
User avatar
panurge
Posts: 22
Joined: Sat Jul 04, 2009 11:08 pm

RenderText

Post 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 :)
User avatar
Kjell
Posts: 1924
Joined: Sat Feb 23, 2008 11:15 pm

Post 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
Attachments
Text.zgeproj
(562 Bytes) Downloaded 525 times
User avatar
panurge
Posts: 22
Joined: Sat Jul 04, 2009 11:08 pm

Post 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
Post Reply