Arma 3 Scripting

BIS_fnc_taskSetState

  • Global argument
  • Global effect
  • Arma 3 v1.00

Function · Markdown · JSON · 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".