taskState
From Bohemia Interactive Community
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