Structured Text: Difference between revisions
mNo edit summary |
(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.) |
||
Line 19: | Line 19: | ||
---- | ---- | ||
Operators: | |||
<br /> - 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: http://community.bistudio.com/wiki/parseText | |||
[[Category: Data Types]] | [[Category: Data Types]] |
Revision as of 07:11, 16 August 2008
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;
Operators:
- 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: http://community.bistudio.com/wiki/parseText