Arma 3 Scripting

BIN_fnc_taskAdded

  • Arma 3 v1.94

Function · Markdown · JSON · original wiki page

Description

Return if task was added to player. Includes both finished and unfinished tasks.

Note

This content is exclusive to the Arma 3 Contact Expansion.

Syntax

syntax inferred from the function header

[param0] call BIN_fnc_taskAdded

Parameters:

Returns: BOOL

Examples

Example 1

if ("q_schnobble" call BIN_fnc_taskAdded) then {hint "ADDED!";};

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 was added to player.
    Includes both finished and unfinished tasks.

Parameter(s):
    0: STRING - task ID

Returns:
    BOOL

Example:
    if ("q_schnobble" call BIN_fnc_taskAdded) then {hint "ADDED!";};
*/