Arma 3 Scripting

Function in Tasks

BIS_fnc_taskCompleted

Also available as Markdown and JSON, or read the original wiki page.

Description

Checks if task is completed.

Note

See Arma 3: Task Framework for more information.

Syntax

taskID call BIS_fnc_taskCompleted

Parameters:

Returns: Boolean - returns true if task state is either "SUCCEEDED", "FAILED" or "CANCELED". Returns false for all other states and if task does not exist

Examples

Example 1

private _completed = "task_1" call BIS_fnc_taskCompleted;

See also

Arma 3: Task Framework