{"name":"BIS_fnc_typeText","title":"BIS fnc typeText","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_typeText","revid":379283,"updated":"2026-10-30T23:45:54Z","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.","syntaxes":[{"syntax":"[stringLines, posX, posY, rootFormat] spawn BIS_fnc_typeText","params":[{"name":"stringLines","type":"Array of Strings or Array of Arrays","description":"Array of Strings or Array of Arrays\n\n- Array of Strings - array containing lines of text with same structured text formatting.\n- Array of Arrays format [text, format, blinkCount]:\n  - text: String - (Optional, default \"\")\n  - format: String - (Optional, default \"<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>\")\n  - blinkCount: Number - (Optional, default 5) number of cursor blinks after text typing","type_expr":"Array<String> | Array<Array>","text":"stringLines: Array of Strings or Array of Arrays\n\n- Array of Strings - array containing lines of text with same structured text formatting.\n- Array of Arrays format [text, format, blinkCount]:\n  - text: String - (Optional, default \"\")\n  - format: String - (Optional, default \"<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>\")\n  - blinkCount: Number - (Optional, default 5) number of cursor blinks after text typing"},{"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":"rootFormat","type":"String","optional":true,"default":"\"<t>%1</t>\"","description":"the parent format","type_expr":"String","text":"rootFormat: String - (Optional, default \"<t>%1</t>\") the parent format"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"text":"```sqf\n[\n    [\n        [\"CAMP ROGAIN,\", \"<t align = 'center' shadow = '1' size = '0.7' font='PuristaBold'>%1</t>\"],\n        [\"RESUPPLY POINT\", \"<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>\"],\n        [\"10 MINUTES LATER ...\", \"<t align = 'center' shadow = '1' size = '1.0'>%1</t>\", 15]\n    ]\n] spawn BIS_fnc_typeText;\n```","code":["[\n\t[\n\t\t[\"CAMP ROGAIN,\", \"<t align = 'center' shadow = '1' size = '0.7' font='PuristaBold'>%1</t>\"],\n\t\t[\"RESUPPLY POINT\", \"<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>\"],\n\t\t[\"10 MINUTES LATER ...\", \"<t align = 'center' shadow = '1' size = '1.0'>%1</t>\", 15]\n\t]\n] spawn BIS_fnc_typeText;"]},{"text":"```sqf\n[\n    [\n        [\"Hello there...\", nil, 30]\n    ],\n    0, safeZoneY + safeZoneH / 2\n] spawn BIS_fnc_typeText;\n```","code":["[\n\t[\n\t\t[\"Hello there...\", nil, 30]\n\t],\n\t0, safeZoneY + safeZoneH / 2\n] spawn BIS_fnc_typeText;"]}],"see_also":["BIS_fnc_dynamicText","BIS_fnc_infoText","BIS_fnc_textTiles","BIS_fnc_typeText2"]}