createTask: Difference between revisions
(Added "See also") |
m (added Parameter) |
||
Line 12: | Line 12: | ||
| <nowiki>teamMember</nowiki> '''createTask ''' <nowiki>[[type] or [type, parentTask], priority, name1, value1, name2, value2, ...]</nowiki> |= Syntax | | <nowiki>teamMember</nowiki> '''createTask ''' <nowiki>[[type] or [type, parentTask], priority, name1, value1, name2, value2, ...]</nowiki> |= Syntax | ||
|p1= |= PARAMETER1 | |p1= [[type] or [type, parentTask], priority, name1, value1, name2, value2, ...]: [[Array]] |= PARAMETER1 | ||
|p2= |= PARAMETER2 | |p2= |= PARAMETER2 |
Revision as of 09:34, 26 April 2015
{{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 ____________________________________________________________________________________________ }}