{"name":"BIS_fnc_taskSetType","operator":null,"title":"BIS fnc taskSetType","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_taskSetType","revid":369828,"updated":"2024-10-15T15:21:35Z","groups":["Tasks"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.58"}],"since":{"game":"arma3","name":"Arma 3","version":"1.58"},"arma3_since":"1.58","branch":null,"locality":{"argument":"global","effect":"global","server_exec":false},"exec":null,"description":"Sets task type to given task. \n\n> [!NOTE]\n> See Arma 3: Task Framework for more information.","syntaxes":[{"syntax":"[id, type] call BIS_fnc_taskSetType","since":null,"effect":null,"exec":null,"params":[{"name":"id","type":"String","optional":false,"default":null,"description":"task ID","types":["String"],"since":null,"text":"id: String - task ID"},{"name":"type","type":"String","optional":false,"default":null,"description":"vanilla or custom task type; if not defined, empty (no) type is used","types":["String"],"since":null,"text":"type: String - vanilla or custom task type; if not defined, empty (no) type is used"}],"returns":{"type":"String","types":["String"],"description":"task ID.","text":"String - task ID."}}],"examples":[{"text":"```sqf\n[\"BIS_Task_01\",\"attack\"] call BIS_fnc_taskSetType;\n```","code":["[\"BIS_Task_01\",\"attack\"] call BIS_fnc_taskSetType;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Task Framework"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Tasks","Functions","Functions: Global Effect","Introduced with Arma 3 version 1.58"],"docblock":null,"filled_from_docblock":[]}