createTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added Parameter)
(undo change because side has broken because of that)
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= [[type] or [type, parentTask], priority, name1, value1, name2, value2, ...]: [[Array]] |= PARAMETER1  
|p1= |= PARAMETER1  


|p2= |= PARAMETER2  
|p2= |= PARAMETER2  

Revision as of 10:36, 26 April 2015

Hover & click on the images for description

Description

Description:
Create a new AI task (subtask of parentTask). Type is name of registered task type.
Groups:
Uncategorised

Syntax

Syntax:
teamMember createTask [[type] or [type, parentTask], priority, name1, value1, name2, value2, ...]
Return Value:
Task

Examples

Example 1:
(example)

Additional Information

See also:
Tasks 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

Notes

Bottom Section