BIS_fnc_typeText
- Local effect
- Runs with spawn
- Arma 3 v1.00
Function · Markdown · JSON · 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:
-
posX: Number - (Optional, default 0) -
posY: Number - (Optional, default 0) -
rootFormat: String - (Optional, default "<t>%1</t>") the parent format
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