simpleTasks: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
mNo edit summary
 
Line 21: Line 21:
|p1= unit: [[Object]]
|p1= unit: [[Object]]


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


|x1= <sqf>_tasks = simpleTasks player;</sqf>
|x1= <sqf>_tasks = simpleTasks player;</sqf>

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