setTaskState: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 9: | Line 8: | ||
|1.00|Game version= | |1.00|Game version= | ||
| Set the state of a given task. | | Set the state of a given task. | ||
Line 21: | Line 19: | ||
*"Canceled" | *"Canceled" | ||
|DESCRIPTION= | |DESCRIPTION= | ||
| task '''setTaskState''' state |SYNTAX= | | task '''setTaskState''' state |SYNTAX= | ||
Line 36: | Line 33: | ||
|x1= <code>_tskKillSpongebob [[setTaskState]] "Succeeded";</code>|EXAMPLE1= | |x1= <code>_tskKillSpongebob [[setTaskState]] "Succeeded";</code>|EXAMPLE1= | ||
| [[Tasks]], [[createSimpleTask]], [[removeSimpleTask]], [[setSimpleTaskDescription]], [[setSimpleTaskDestination]], [[setTaskResult]], [[taskState]] |SEEALSO= | | [[Tasks]], [[createSimpleTask]], [[removeSimpleTask]], [[setSimpleTaskDescription]], [[setSimpleTaskDestination]], [[setTaskResult]], [[taskState]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 02:28, 17 January 2021
Description
- Description:
- Set the state of a given task.
State value may be one of:
- "None"
- "Created"
- "Assigned"
- "Succeeded"
- "Failed"
- "Canceled"
- Groups:
- Briefing
Syntax
Examples
- Example 1:
_tskKillSpongebob setTaskState "Succeeded";
Additional Information
- See also:
- TaskscreateSimpleTaskremoveSimpleTasksetSimpleTaskDescriptionsetSimpleTaskDestinationsetTaskResulttaskState
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note