vn_ms_fnc_sfx_typeText
vn_ms_fnc_sfx_typeText
Types a structured text on the screen, letter by letter.
Syntax
[_lines,_posX,_posY,_rootFormat] call vn_ms_fnc_sfx_typeText;Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
_lines |
Array | [] |
Multidimensional array of lines to write |
_posX |
Number, Array | 0 |
Display position X, or X and W if an array |
_posY |
Number, Array | 0 |
Display position Y, or Y and H if an array |
_rootFormat |
String | "<t font='tt2020style_e_vn'>%1</t>" |
Default structured text wrapper template around each line |
Return value
Script (Handle) - Script handle to typing text
Examples
[
[
["Operation: ", "<t align = 'left' shadow = '1' size = '1' font='tt2020style_e_vn_bold'>%1</t>"],
["Eldest Son"],
["12th May 1969. 1600h"],
["SOG CCN, FOB 1, Phu Bai, South Vietnam"],
[" "],
["Target AO: ", "<t align = 'left' shadow = '1' size = '1' font='tt2020style_e_vn_bold'>%1</t>"],
["Whiskey 4"]
]
] spawn vn_ms_fnc_sfx_typeText;