sendTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 9: Line 8:


|gr2= Teams |GROUP2=
|gr2= Teams |GROUP2=
____________________________________________________________________________________________


| Create a new AI task (subtask of parentTask). Type is name of registered task type. |DESCRIPTION=
| Create a new AI task (subtask of parentTask). Type is name of registered task type. |DESCRIPTION=
____________________________________________________________________________________________


| sender '''sendTask''' [receiver,[type] or [type,parentTask],priority,name1,value1,name2,value2,...] |SYNTAX=
| sender '''sendTask''' [receiver,[type] or [type,parentTask],priority,name1,value1,name2,value2,...] |SYNTAX=
Line 27: Line 24:
|x1= <code>(example)</code>|EXAMPLE1=  
|x1= <code>(example)</code>|EXAMPLE1=  


____________________________________________________________________________________________


|  |SEEALSO=  
|  |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 02:32, 17 January 2021

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:
BriefingTeams

Syntax

Syntax:
sender sendTask [receiver,[type] or [type,parentTask],priority,name1,value1,name2,value2,...]
Parameters:
sender: Team Member
[receiver,[type] or [type,parentTask],priority,name1,value1,name2,value2,...]: Array
Return Value:
Task

Examples

Example 1:
(example)

Additional Information

See also:
See also needed

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