Difference between revisions of "Structured Text"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (corrected some string issues ("" "" => " "))
m
Line 10: Line 10:
 
Example
 
Example
  
<nowiki>_separator1 = parseText "<br/>------------------------<br/>";</nowiki>
+
<nowiki>_separator1 = parseText "<br />------------------------<br />";</nowiki>
  
 
_image = "\ca\ui\textures\aus_flag.paa";
 
_image = "\ca\ui\textures\aus_flag.paa";

Revision as of 19:01, 30 September 2007

Description:

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.


Example

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

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

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

hint _txt;