Arma 3 Scripting

Function in GUI

BIS_fnc_typeText

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

Description

Types a structured text on the screen, letter by letter, cursor blinking.

Syntax

[stringLines, posX, posY, rootFormat] spawn BIS_fnc_typeText

Parameters:

Returns: Nothing

Examples

Example 1

[
    [
        ["CAMP ROGAIN,", "<t align = 'center' shadow = '1' size = '0.7' font='PuristaBold'>%1</t>"],
        ["RESUPPLY POINT", "<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>"],
        ["10 MINUTES LATER ...", "<t align = 'center' shadow = '1' size = '1.0'>%1</t>", 15]
    ]
] spawn BIS_fnc_typeText;

Example 2

[
    [
        ["Hello there...", nil, 30]
    ],
    0, safeZoneY + safeZoneH / 2
] spawn BIS_fnc_typeText;

See also

BIS_fnc_dynamicText · BIS_fnc_infoText · BIS_fnc_textTiles · BIS_fnc_typeText2