createTask: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:ArmA 2: New Scripting Commands List\|{{uc:{{PAGENAME}}}}\]\]\s*" to "") |
Lou Montana (talk | contribs) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| teamMember | | teamMember [[createTask]] [<nowiki/>[type, parentTask], priority, name1, value1, (...), nameN, valueN] |SYNTAX= | ||
|p1= teamMember: [[Team Member]] |PARAMETER1= | |p1= teamMember: [[Team Member]] |PARAMETER1= | ||
|p2= | |p2= [type, parentTask]: [[Array]]|PARAMETER2= | ||
|p3 | |p3= type: [[String]] - <tt>name</tt> defined in <tt>CfgTasks</tt> |PARAMETER3= | ||
| [[Task]] | | |p4= parentTask (optional): [[Task]] |PARAMETER4= | ||
|p5= priority: [[Number]] |PARAMETER5= | |||
| | |p6= name1: [[String]] |PARAMETER6= | ||
|p7= value1: [[String]] |PARAMETER7= | |||
| [[Task]] |RETURNVALUE= | |||
____________________________________________________________________________________________ | |||
<!-- | |||
|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= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Line 44: | Line 46: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] |
Revision as of 20:40, 19 September 2019
Description
- Description:
- Create a new AI task (subtask of parentTask). Type is name of registered task type.
- Groups:
- Uncategorised
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