Structured Text

From Bohemia Interactive Community
Revision as of 08:11, 16 August 2008 by General Barron (talk | contribs) (started writing a listing of available operators. There is a list in the parseText comand, but it would be better to put it here. Help / formatting would be appreciated.)
Jump to navigation Jump to search


Rich text, is able to include pictures, formating ...

It can be created using XML like syntax, as seen in parseText.

Introduced with Armed Assault, does not refer to Cold War Crisis or Resistance.


_separator1 = parseText "<br />------------------------<br />";

_image = "\ca\ui\textures\aus_flag.paa";

_txt = composeText [image _image,"Heading Text",_separator1,"Content"];

hint _txt;


- insert a line break

<img image=red.paa/> - insert specified image (images can also be inserted via the composeText command)

<t size='1.2' color='#ffffff00'> </t> - format text between the two tags with the given attributes. Not all attributes need to be specified.

See this page for more info: