taskState

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in ARMA 2  version 1.00

Click on the images for descriptions

Introduced in

Game:
ARMA 2
Version:
1.00

Description

Description:
Returns the current state of a task.

Possible return values are:

  • None
  • Created
  • Assigned
  • Succeeded
  • Failed
  • Canceled

Syntax

Syntax:
String = taskState Task
Parameters:
Task - the task you want to query
Return Value:
String - current state of task

Examples

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

Additional Information

Multiplayer:
-
See also:
Tasks, createSimpleTask, removeSimpleTask, setSimpleTaskDescription, setSimpleTaskDestination, setTaskResult, setTaskState

Notes

Notes


Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Google Ads