Arma 3 Scripting

Command in Briefing

taskState

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

Description

Returns the current state of a task.

Syntax

taskState task

Parameters:

Returns: String - current state of task - can be one of:

Examples

Example 1

tskSomeTask = player createSimpleTask ["NewTask"];
hint format["Taskstate: %1", taskState tskSomeTask];

See also

Tasks · createSimpleTask · removeSimpleTask · setSimpleTaskDescription · setSimpleTaskDestination · setTaskResult · setTaskState