currentTasks: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 33: Line 33:
|r1= [[Array]] - array of [[Task]]s
|r1= [[Array]] - array of [[Task]]s


|x1= <code>currentTasks [[teamMember]] _agent</code>
|x1= <code>currentTasks teamMember _agent</code>


|seealso= [[taskCompleted]] [[registerTask]] [[registeredTasks]] [[unregisterTask]] [[sendTask]] [[createTask]]
|seealso= [[taskCompleted]] [[registerTask]] [[registeredTasks]] [[unregisterTask]] [[sendTask]] [[createTask]]
}}
}}

Revision as of 11:02, 12 May 2022

Hover & click on the images for description

Description

Description:
Returns array with all uncompleted tasks for the given agent. getVariable could be used on Task to get the following special local variables from the task:
Groups:
BriefingTeams

Syntax

Syntax:
currentTasks teamMember
Parameters:
teamMember: Team Member - teamMember agent
Return Value:
Array - array of Tasks

Examples

Example 1:
currentTasks teamMember _agent

Additional Information

See also:
taskCompleted registerTask registeredTasks unregisterTask sendTask createTask

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