Arma 3 Scripting

Command in Strings, Structured Text

composeText

Also available as Markdown and JSON, or read the original wiki page.

Description

Creates a Structured Text by joining the given structured or plain text arguments.

Syntax

composeText arguments

Parameters:

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