---
name: "BIN_fnc_taskActive"
type: function
status: ok
groups: ["Contact"]
arma3_since: "1.94"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIN_fnc_taskActive
revid: 286076
updated: 2021-06-20T17:25:19Z
---

# BIN_fnc_taskActive

*Function · Contact · Arma 3 v1.94*

## 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*

```sqf
[param0] call BIN_fnc_taskActive
```

**Parameters:**

- `param0` — 0: STRING - task ID

**Returns:** BOOL

## Examples

### Example 1

```sqf
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.

```sqf
/*
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!";};
*/
```

<sub>Source: [BI Community Wiki — BIN fnc taskActive](https://community.bistudio.com/wiki/BIN_fnc_taskActive) (revision 286076).</sub>
