Description
Return if task is active, i.e., added to player, but not yet completed. Only in this state can player assign it.
Note
This content is exclusive to the Arma 3 Contact Expansion.
Syntax
syntax inferred from the function header
[param0] call BIN_fnc_taskActive
Parameters:
param0— 0: STRING - task ID
Returns: BOOL
Examples
Example 1
if ("q_schnobble" call BIN_fnc_taskActive) then {hint "ACTIVE!";};
Function header
The comment at the top of the function's file in the game; this page's params, syntax, returns, examples, description come from it.
/*
Description:
Return if task is active, i.e., added to player, but not yet completed.
Only in this state can player assign it.
Parameter(s):
0: STRING - task ID
Returns:
BOOL
Example:
if ("q_schnobble" call BIN_fnc_taskActive) then {hint "ACTIVE!";};
*/