sendTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x1= *([^ ]+) \}\}" to "|x1=$1 |seealso= }}")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 17: Line 17:
|gr2= Teams
|gr2= Teams


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


|s1=  sender '''sendTask''' [receiver,[type] or [type,parentTask],priority,name1,value1,name2,value2,...]
|s1=  sender '''sendTask''' [receiver,[type] or [type,parentTask],priority,name1,value1,name2,value2,...]

Revision as of 21:16, 13 June 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