Structured Text: Difference between revisions
Category: Data Types
m (Wiki texts should not be signed.) |
HeliJunkie (talk | contribs) m (corrected linebreaks (<br/>), added a valid image path (V1.08)) |
||
Line 10: | Line 10: | ||
Example | Example | ||
<nowiki>_separator1 = parseText " | <nowiki>_separator1 = parseText "<br/>------------------------<br/>";</nowiki> | ||
_image = " | _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 17:49, 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;