{"name":"BIS_fnc_taskSetType","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","games":{"arma3":"1.58"},"since":"arma3 1.58","arma3_since":"1.58","locality":{"argument":"global","effect":"global"},"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","params":[{"name":"id","type":"String","description":"task ID","type_expr":"String"},{"name":"type","type":"String","description":"vanilla or custom task type; if not defined, empty (no) type is used","type_expr":"String"}],"returns":{"type":"String","type_expr":"String","description":"task ID."}}],"examples":[{"code":["[\"BIS_Task_01\",\"attack\"] call BIS_fnc_taskSetType;"]}],"see_also":["Arma 3: Task Framework"]}