Color, Bold, Italics for "print expression" ?

Hi,

I know that you can change colors, bold, italics, for a regular "print message", but how would I go about doing it for "print expression"? I'm sure there is a way, I just don't know it. Anyone happen to know how to do it?

Also, looking to do it in the interface, rather than use the code view.

ie like in the "print expression" text box something like = "The big " [b] + object.alias + [/b] " jumped over the picket fence!"

Can anyone assist me?


Something like this?

"The big <b>"  + object.alias +  "</b>  jumped over the picket fence!" 

You can also do:

"The big {b:" + object.alias + "} jumped over the picket fence!"

http://docs.textadventures.co.uk/quest/text_processor.html


Thank you, that helps a lot.

What about changing colors of text?


You can do this:

This is {colour:red:some coloured text}.

This:

{b:{i:{colour:blue:{u:blue}}}}

is not the same as this:

{b:{i:{u:{colour:blue:blue}}}}

Why?


The first prints the word 'blue' in 'bold, italics, the colour blue, and underlined in blue'
The second prints the word 'blue' in 'bold, italics, the colour blue, but underlined in black'.
It's because the {u: is not captured by the {colour:


Thanks! Really appreciate it!


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums