createSimpleTask: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Task]] <nowiki>=</nowiki> [[Object]] '''createSimpleTask''' [[ | | [[Task]] <nowiki>=</nowiki> [[Object]] '''createSimpleTask''' [[Array]]|= Syntax | ||
|p1= [[Object]] | |p1= [[Object]]: Unit to add this new task |= PARAMETER1 | ||
|p2= [[ | |p2= [[Array]]: ["TaskName"] or ["TaskName", taskParent] |= PARAMETER2 | ||
| [[Task]] - the new task|= RETURNVALUE | | [[Task]] - the new task |= RETURNVALUE | ||
Revision as of 23:54, 13 July 2009
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
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