{"name":"BIS_fnc_deleteTask","operator":null,"title":"BIS fnc deleteTask","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_deleteTask","revid":364798,"updated":"2024-06-14T14:01:53Z","groups":["Tasks"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.06"}],"since":{"game":"arma3","name":"Arma 3","version":"1.06"},"arma3_since":"1.06","branch":null,"locality":{"argument":"global","effect":"global","server_exec":false},"exec":null,"description":"Deletes given task. \n\n> [!NOTE]\n> See Arma 3: Task Framework.","syntaxes":[{"syntax":"[taskID, owner, removeFromJIP] call BIS_fnc_deleteTask","since":null,"effect":null,"exec":null,"params":[{"name":"taskID","type":"String","optional":false,"default":null,"description":"ID of the task","types":["String"],"since":null,"text":"taskID: String - ID of the task"},{"name":"owner","type":"String","optional":true,"default":null,"description":"owner of the task. Can be:\n- Boolean - true to use all playable units\n- Object - specific object\n- Group - all objects in the group\n- Side - all objects of the given side\n- Array - collection of above types","types":["String"],"since":null,"text":"owner: String - (Optional) owner of the task. Can be:\n- Boolean - true to use all playable units\n- Object - specific object\n- Group - all objects in the group\n- Side - all objects of the given side\n- Array - collection of above types"},{"name":"removeFromJIP","type":"Boolean","optional":true,"default":"false","description":"true to also remove task from JIP queue","types":["Boolean"],"since":"arma3 2.08","text":"removeFromJIP: Boolean - (Optional, default false) true to also remove task from JIP queue"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[\"task_1\"] call BIS_fnc_deleteTask;\n```","code":["[\"task_1\"] call BIS_fnc_deleteTask;"]},{"text":"```sqf\n[\"task_1\", west] call BIS_fnc_deleteTask;\n```","code":["[\"task_1\", west] call BIS_fnc_deleteTask;"]},{"text":"```sqf\n[\"task_1\", [west, player, group soldier]] call BIS_fnc_deleteTask;\n```","code":["[\"task_1\", [west, player, group soldier]] call BIS_fnc_deleteTask;"]}],"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.06"],"docblock":null,"filled_from_docblock":[]}