Arma 3 Scripting

Command in Strings, GUI Control, Structured Text

image

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

Description

Creates a structured text containing the given image. Use setAttributes to set additional attributes on the image.

Syntax

image filename

Parameters:

Returns: Structured Text

Examples

Example 1

hint composeText ["Image: ", image "\a3\Data_f\Flags\flag_Altis_co.paa"];

Example 2

hint str (composeText ["Image: ", image "\a3\Data_f\Flags\flag_Altis_co.paa"] == parseText "Image: <img image='\a3\Data_f\Flags\flag_Altis_co.paa'/>"); // true

See also

setAttributes · parseText · text · composeText · lineBreak