Arma 3 Scripting

Function in Tasks

BIS_fnc_taskSetState

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

Description

Set a task's state.

Note

See Arma 3: Task Framework for more information.

Syntax

[taskName, taskState, showHint] call BIS_fnc_taskSetState

Parameters:

Returns: Boolean

Examples

Example 1

["BIS_task_01","CANCELED"] call BIS_fnc_taskSetState;

See also

Arma 3: Task Framework

Community notes

Whiztler

Mind the spelling of the TaskState parameter string "CANCELED". The parameter will not work with the TaskState correctly spelled "CANCELLED".