simpleTasks: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
mNo edit summary
 
(4 intermediate revisions by one other user not shown)
Line 17: Line 17:
|descr= Return all simple tasks assigned to given unit.
|descr= Return all simple tasks assigned to given unit.


|s1= '''simpleTasks''' unit
|s1= [[simpleTasks]] unit


|p1= unit: [[Object]]
|p1= unit: [[Object]]


|r1= [[Array]]
|r1= [[Array]] of [[Task]]s


|x1= <code>_tasks = [[simpleTasks]] [[player]];</code>
|x1= <sqf>_tasks = simpleTasks player;</sqf>


|seealso= [[createSimpleTask]] [[currentTask]]
|seealso= [[createSimpleTask]] [[currentTask]]
}}
}}

Latest revision as of 18:35, 2 April 2026

Hover & click on the images for description

Description

Description:
Return all simple tasks assigned to given unit.
Groups:
Briefing

Syntax

Syntax:
simpleTasks unit
Parameters:
unit: Object
Return Value:
Array of Tasks

Examples

Example 1:
_tasks = simpleTasks player;

Additional Information

See also:
createSimpleTask currentTask

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note