Arma 3 Scripting

taskState

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Command · Markdown · JSON · 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