BIS_fnc_taskCompleted
- Global argument
- Global effect
- Arma 3 v1.00
Function · Markdown · JSON · 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:
taskID: String - ID or name of the task
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;