createTask: 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= | ||
| Create a new AI task (subtask of parentTask). Type is name of registered task type. |DESCRIPTION= | | Create a new AI task (subtask of parentTask). Type is name of registered task type. |DESCRIPTION= | ||
| teamMember [[createTask]] [<nowiki/>[type, parentTask], priority, name1, value1, (...), nameN, valueN] |SYNTAX= | | teamMember [[createTask]] [<nowiki/>[type, parentTask], priority, name1, value1, (...), nameN, valueN] |SYNTAX= | ||
Line 31: | Line 28: | ||
| [[Task]] |RETURNVALUE= | | [[Task]] |RETURNVALUE= | ||
<!-- | <!-- | ||
|x1= <code>(example)</code>|EXAMPLE1= | |x1= <code>(example)</code>|EXAMPLE1= | ||
--> | --> | ||
| [[Tasks]] [[type]] [[briefing]] [[createSimpleTask]] [[simpleTasks]] [[currentTask]] [[currentTasks]] [[setCurrentTask]] [[taskState]] [[setTaskState]] [[taskResult]] [[setTaskResult]] [[taskCompleted]] [[removeSimpleTask]] |SEEALSO= | | [[Tasks]] [[type]] [[briefing]] [[createSimpleTask]] [[simpleTasks]] [[currentTask]] [[currentTasks]] [[setCurrentTask]] [[taskState]] [[setTaskState]] [[taskResult]] [[setTaskResult]] [[taskCompleted]] [[removeSimpleTask]] |SEEALSO= |
Revision as of 00:26, 17 January 2021
Description
- Description:
- Create a new AI task (subtask of parentTask). Type is name of registered task type.
- Groups:
- BriefingTeams
Syntax
- Syntax:
- teamMember createTask [[type, parentTask], priority, name1, value1, (...), nameN, valueN]
- Parameters:
- teamMember: Team Member
- [type, parentTask]: Array
- type: String - name defined in CfgTasks
- parentTask (optional): Task
- priority: Number
- name1: String
- value1: String
- Return Value:
- Task
Examples
- Examples:
- Example needed
Additional Information
- See also:
- Tasks type briefing createSimpleTask simpleTasks currentTask currentTasks setCurrentTask taskState setTaskState taskResult setTaskResult taskCompleted removeSimpleTask
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