Jump to content
Sign in to follow this  
csj

titleText

Recommended Posts

titleText ["bla bla", "PLAIN",2]

Can I get more then 1 lot of info in this script

ie

titleText ["bla bla","yibity","yibata", "PLAIN",2]

I have tried and tried

I have searched but all relevent info led back to ofpec (down)

I would really like to know xmas_o.gif

if somebody can help

Share this post


Link to post
Share on other sites

AFAIK, only one text message is allowed in the titletext command.

To display more messages you will need for titletext commands.

-Pilot

Share this post


Link to post
Share on other sites

bugger - oh well

thanx Student Pilot

Share this post


Link to post
Share on other sites

Not sure exactly what you are trying to do, but I've got 2 suggestions:

#1: look into the "format" command. It lets you print out a variable into a string (for use in titletext, for example).

#2: use the newline command: \n. This will make a line break.

So maybe in your case, you could do something like this:

titleText ["bla bla \n yibity \n yibata", "PLAIN",2]

Share this post


Link to post
Share on other sites

I want 4 sep types of info displayed.

I did this with vehiclechat but it gets messy when displayed

I would like it bottom centre of screen.

titletext prints over last title so there is no mess.

I will check what i have done again, must be screwin' up somewhere.

Share this post


Link to post
Share on other sites
Quote[/b] ]titletext[format ["Info1: %1 \nInfo2: %2 \nInfo3: %3   ", _v1, _v2, _v3], "Plain down"]

Share this post


Link to post
Share on other sites

@General Barron & [APS]Gnat

Yep this is what I needed biggrin_o.gif

only had a couple of minutes to test but I know I am heading in the right direction coz

I get three different scalar bool (whatever) errs showing  rofl.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×