createSimpleTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 19: Line 19:




|x1= <code>currentTask <nowiki>=</nowiki> player createSimpleTask "NewTask";</code>|= EXAMPLE1  
|x1= <code>currentTask <nowiki>=</nowiki> player createSimpleTask ["NewTask"];</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 00:55, 14 July 2009

Hover & click on the images for description

Description

Description:
Creates a new Task
Groups:
Uncategorised

Syntax

Syntax:
Task = Object createSimpleTask Array
Parameters:
Object: Unit to add this new task
Array: ["TaskName"] or ["TaskName", taskParent]
Return Value:
Task - the new task

Examples

Example 1:
currentTask = player createSimpleTask ["NewTask"];

Additional Information

See also:
taskStatesetSimpleTaskDescriptionsetSimpleTaskDestinationsetTaskStatesetTaskResult

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