sendTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " | }}" to " }}")
m (Text replacement - "|x1= <sqf>(example);</sqf>" to "|x1=")
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|version1= 1.00


|1.00
|game2= arma2oa
|version2= 1.50
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50


|gr1= Briefing
|gr1= Briefing
Line 9: 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.


| 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,...]


|p1= sender:  [[Team Member]]
|p1= sender:  [[Team Member]]
Line 17: Line 25:
|p2= [receiver,[type] or [type,parentTask],priority,name1,value1,name2,value2,...]: [[Array]]
|p2= [receiver,[type] or [type,parentTask],priority,name1,value1,name2,value2,...]: [[Array]]


|p3=
|r1= [[Task]]


| [[Task]]
|x1=


|x1= <code>(example)</code>
|seealso=
 
|
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 12:04, 3 October 2022

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

Examples:
Example needed

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