setTaskState

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2 version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Set the state of a given task. State value may be one of:
  • "None"
  • "Created"
  • "Assigned"
  • "Succeeded"
  • "Failed"
  • "Canceled"

Syntax

Syntax:
task setTaskState state
Parameters:
task: Task
state: String
Return Value:
Nothing

Examples

Example 1:
_tskKillSpongebob setTaskState "Succeeded";

Additional Information

See also:
TaskscreateSimpleTaskremoveSimpleTasksetSimpleTaskDescriptionsetSimpleTaskDestinationsetTaskResulttaskState

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section