Arma 3 Scripting

Function in Tasks

BIS_fnc_setTask

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

Description

Set task parameters.

Create the task when it doesn't exist.

Note

See Arma 3: Task Framework for more information.

Syntax

[taskId, target, description, (destination, state, priority, showNotification, isGlobal, type, visibleIn3D)] call BIS_fnc_setTask

Parameters:

Returns: String - task ID

Examples

Example 1

["Task_01", true, ["Protect the respawn point.","Respawn Point West","respawn_west"], [MHQ,false], "ASSIGNED", 5, true, true, "Defend", true] call BIS_fnc_setTask;

See also

Arma 3: Task Framework