createTask
{{Command|= Comments ____________________________________________________________________________________________
| arma2 |= Game name
|1.00|= Game version ____________________________________________________________________________________________
| Create a new AI task (subtask of parentTask). Type is name of registered task type. |= Description ____________________________________________________________________________________________
| teamMember createTask [[type] or [type, parentTask], priority, name1, value1, name2, value2, ...] |= Syntax
|p1= [[type] or [type, parentTask], priority, name1, value1, name2, value2, ...]: Array |= PARAMETER1
|p2= |= PARAMETER2
|p3= |= PARAMETER3
| Task |= RETURNVALUE
|x1= (example)
|= EXAMPLE1
____________________________________________________________________________________________
| Tasks briefing createSimpleTask simpleTasks currentTask currentTasks setCurrentTask taskState setTaskState taskResult setTaskResult taskCompleted removeSimpleTask |= SEEALSO
| |= MPBEHAVIOUR ____________________________________________________________________________________________ }}