Structured Text
11 scripting commands. Also as Markdown for agents.
- composeTextCreates a Structured Text by joining the given structured or plain text arguments.
- ctrlSetStructuredTextSet the Structured Text which will be displayed in structured text control.
- formatTextCreates a Structured Text similar to format command.
- hintOutputs a hint message to the right of the screen (left of the screen in Operation Flashpoint) with a sound (except in Armed Assault).
- hintCDisplays a very basic message dialog in the center of the screen. Player control is taken away until "Continue" is pressed. The message dialog can be…
- hintSilentSame as hint, but without a sound.
- imageCreates a structured text containing the given image. Use setAttributes to set additional attributes on the image.
- lineBreakCreates a structured text containing a line break.
- parseTextCreates a structured text by parsing the given XML description. Do not use parseText when displaying a localized text from Stringtable.xml.
- setAttributesReturns a Structured Text created from the given structured text and sets attributes to the given values.
- textCreates a structured text containing the given plain text if argument is String. Use setAttributes to set additional attributes on the text. If the…