{"name":"BIS_fnc_deleteTask","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","games":{"arma3":"1.06"},"since":"arma3 1.06","arma3_since":"1.06","locality":{"argument":"global","effect":"global"},"description":"Deletes given task.\n\n> [!NOTE]\n> See Arma 3: Task Framework.","syntaxes":[{"syntax":"[taskID, owner, removeFromJIP] call BIS_fnc_deleteTask","params":[{"name":"taskID","type":"String","description":"ID of the task","type_expr":"String"},{"name":"owner","type":"String","optional":true,"description":"owner of the task. Can be:\n\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","type_expr":"String","text":"owner: String - (Optional) owner of the task. Can be:\n\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","type_expr":"Boolean","since":"arma3 2.08","text":"removeFromJIP: Boolean - (Optional, default false) true to also remove task from JIP queue"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[\"task_1\"] call BIS_fnc_deleteTask;"]},{"code":["[\"task_1\", west] call BIS_fnc_deleteTask;"]},{"code":["[\"task_1\", [west, player, group soldier]] call BIS_fnc_deleteTask;"]}],"see_also":["Arma 3: Task Framework"]}