Difference between revisions of "Structured Text"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (corrected linebreaks (<br/>), added a valid image path (V1.08))
m (corrected some string issues ("" "" => " "))
Line 12: Line 12:
 
<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";
  
 
_txt = composeText [image _image,"Heading Text",_separator1,"Content"];
 
_txt = composeText [image _image,"Heading Text",_separator1,"Content"];

Revision as of 16:50, 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;