{"name":"BIS_fnc_taskCompleted","title":"BIS fnc taskCompleted","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_taskCompleted","revid":352054,"updated":"2024-02-01T23:24:34Z","groups":["Tasks"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","locality":{"argument":"global","effect":"global"},"description":"Checks if task is completed.\n\n> [!NOTE]\n> See Arma 3: Task Framework for more information.","syntaxes":[{"syntax":"taskID call BIS_fnc_taskCompleted","params":[{"name":"taskID","type":"String","description":"ID or name of the task","type_expr":"String"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"returns true if task state is either \"SUCCEEDED\", \"FAILED\" or \"CANCELED\". Returns false for all other states and if task does not exist"}}],"examples":[{"code":["private _completed = \"task_1\" call BIS_fnc_taskCompleted;"]}],"see_also":["Arma 3: Task Framework"]}