composeText
- Arma 3 v0.50
- First in Operation Flashpoint: Elite v1.00
Command · also in Structured Text · Markdown · JSON · original wiki page
Description
Creates a Structured Text by joining the given structured or plain text arguments.
Syntax
composeText arguments
Parameters:
arguments: Array of String and/or Structured Text - use Structured Text where necessary (see Example 2)
Returns: Structured Text
Examples
Example 1
hint composeText ["Image: ", image "\a3\Data_f\Flags\flag_Altis_co.paa"];
Example 2
hint composeText ["line1", "<br/>", "line2"]; // result displayed in one line
hint composeText ["line1", lineBreak, "line2"]; // result displayed in two lines
See also
Structured Text · formatText · image · lineBreak · parseText · text · setAttributes