Arma 3 Scripting

BIS_fnc_basicTask

  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Note

Arma 3: Internally used .fsm.

Compiled FSM that creates a predefined task for the player or changes its state. The only defined task type is "ATTACK"; its task ID is "ATTACK_" followed by the given number.

Note

The state check is case-sensitive, while a task created as current is stored as "ASSIGNED"; such a task is therefore not updated by a second call.

Syntax

[taskType, taskNumber, params] call BIS_fnc_basicTask

Parameters:

Returns: Nothing

Examples

Example 1

["ATTACK", 1, [getMarkerPos "target", "Agia Marina"]] call BIS_fnc_basicTask; // creates task "ATTACK_1"

See also

BIS_fnc_taskCreate · BIS_fnc_taskSetState · BIS_fnc_taskExists · BIS_fnc_taskState