{"name":"BIS_fnc_typeText2","title":"BIS fnc typeText2","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_typeText2","revid":379284,"updated":"2026-10-30T23:46:02Z","groups":["GUI"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","locality":{"effect":"local"},"exec":"spawn","description":"Types a structured text on the screen, letter by letter, cursor blinking. Note that line returns are manual, unlike BIS_fnc_typeText.","syntaxes":[{"syntax":"[stringLines, posX, posY, alignBottom, rootFormat, abortParams, abortCond, playSounds] call BIS_fnc_typeText2","params":[{"name":"stringLines","type":"Array of Strings or Array of Array of Strings","description":"Array of Strings or Array of Array of Strings\n\n- Array of Strings - array containing lines of text with same structured text formatting.\n- Array of Array of Strings [text, format, color]\n  - text: String - (Optional, default `\"\"`)\n  - format: String - (Optional, default `\"align = 'center' size = '0.7'\"`) a linebreak is defined as \"<br/>\" **and this only!**\n  - color: String - (Optional, default `\"#ffffff\"`)","type_expr":"Array<String> | Array<Array<String>>","text":"stringLines: Array of Strings or Array of Array of Strings\n\n- Array of Strings - array containing lines of text with same structured text formatting.\n- Array of Array of Strings [text, format, color]\n  - text: String - (Optional, default `\"\"`)\n  - format: String - (Optional, default `\"align = 'center' size = '0.7'\"`) a linebreak is defined as \"<br/>\" **and this only!**\n  - color: String - (Optional, default `\"#ffffff\"`)"},{"name":"posX","type":"Number","optional":true,"default":"0","type_expr":"Number","text":"posX: Number - (Optional, default 0)"},{"name":"posY","type":"Number","optional":true,"default":"0","type_expr":"Number","text":"posY: Number - (Optional, default 0)"},{"name":"alignBottom","type":"Boolean","optional":true,"default":"true","type_expr":"Boolean","text":"alignBottom: Boolean - (Optional, default true)"},{"name":"rootFormat","type":"String","optional":true,"default":"`\"<t>%1</t>\"`","type_expr":"String","text":"rootFormat: String - (Optional, default `\"<t>%1</t>\"`)"},{"name":"abortParams","type":"Array","optional":true,"default":"`[]`","type_expr":"Array","text":"abortParams: Array - (Optional, default `[]`)"},{"name":"abortCond","type":"Code","optional":true,"default":"`{ false }`","type_expr":"Code","text":"abortCond: Code - (Optional, default `{ false }`)"},{"name":"playSounds","type":"Boolean","optional":true,"default":"true","type_expr":"Boolean","text":"playSounds: Boolean - (Optional, default true)"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"text":"```sqf\n[\n    [\n        [\"CAMP ROGAIN, \", \"align = 'center' shadow = '1' size = '0.7' font='PuristaBold'\"],\n        [\"RESUPPLY POINT\", \"align = 'center' shadow = '1' size = '0.7'\", \"#aaaaaa\"],\n        [\"\", \"<br/>\"], // line break\n        [\"10 MINUTES LATER...\", \"align = 'center' shadow = '1' size = '1.0'\"]\n    ]\n] spawn BIS_fnc_typeText2;\n```","code":["[\n\t[\n\t\t[\"CAMP ROGAIN, \", \"align = 'center' shadow = '1' size = '0.7' font='PuristaBold'\"],\n\t\t[\"RESUPPLY POINT\", \"align = 'center' shadow = '1' size = '0.7'\", \"#aaaaaa\"],\n\t\t[\"\", \"<br/>\"], // line break\n\t\t[\"10 MINUTES LATER...\", \"align = 'center' shadow = '1' size = '1.0'\"]\n\t]\n] spawn BIS_fnc_typeText2;"]},{"text":"```sqf\n[\n    [\"Hello there\"],\n    safeZoneX, safeZoneH / 2,\n    true,\n    \"<t font='PuristaBold'>%1</t>\",\n    [],\n    { false },\n    true\n] spawn BIS_fnc_typeText2;\n```","code":["[\n\t[\"Hello there\"],\n\tsafeZoneX, safeZoneH / 2,\n\ttrue,\n\t\"<t font='PuristaBold'>%1</t>\",\n\t[],\n\t{ false },\n\ttrue\n] spawn BIS_fnc_typeText2;"]}],"see_also":["BIS_fnc_dynamicText","BIS_fnc_infoText","BIS_fnc_textTiles","BIS_fnc_typeText","BIS_fnc_EXP_camp_SITREP"]}