createTask

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

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

Syntax

Syntax:
teamMember createTask [[type, parentTask], priority, name1, value1...nameN, valueN]
Parameters:
teamMember: Team Member
[[type, parentTask], priority, name1, value1...nameN, valueN]: Array
[type, parentTask]: Array
type: String
parentTask (optional): Task
priority: Number
name1: String
value1: String
Return Value:
Task

Examples

Example 1:
Example needed

Additional Information

Multiplayer:
-
See also:
Tasks briefing createSimpleTask simpleTasks currentTask currentTasks setCurrentTask taskState setTaskState taskResult setTaskResult taskCompleted removeSimpleTask

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section