{"name":"BIS_fnc_typeText","operator":null,"title":"BIS fnc typeText","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_typeText","revid":329328,"updated":"2022-07-27T10:15:19Z","groups":["GUI"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":"local","server_exec":false},"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","since":null,"effect":null,"exec":null,"params":[{"name":"stringLines","type":null,"optional":true,"default":"\"\"","description":"Array of Strings - array containing lines of text with same structured text formatting.\n- Array of Arrays format [text, format, blinkCount]:\n  - text: String - \n  - format: String - (Optional, default \"`%1`<br/>\")\n  - blinkCount: Number - (Optional, default 5) number of cursor blinks after text typing","types":[],"since":null,"text":"stringLines:\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 \"`%1`<br/>\")\n  - blinkCount: Number - (Optional, default 5) number of cursor blinks after text typing"},{"name":"posX","type":"Number","optional":true,"default":"0","description":null,"types":["Number"],"since":null,"text":"posX: Number - (Optional, default 0)"},{"name":"posY","type":"Number","optional":true,"default":"0","description":null,"types":["Number"],"since":null,"text":"posY: Number - (Optional, default 0)"},{"name":"rootFormat","type":"String","optional":true,"default":"\"`%1`\"","description":"the parent format","types":["String"],"since":null,"text":"rootFormat: String - (Optional, default \"`%1`\") the parent format"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"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;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_dynamicText","BIS_fnc_infoText","BIS_fnc_textTiles","BIS_fnc_typeText2"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: GUI","Functions","Functions: Local Effect","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}