currentTasks: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr2= Teams
|gr2= Teams


|1.00
|descr=1.00


| Returns array with all [[taskCompleted | uncompleted]] tasks for the given agent. [[getVariable]] could be used on [[Task]] to get the following special local variables from the task:
| Returns array with all [[taskCompleted | uncompleted]] tasks for the given agent. [[getVariable]] could be used on [[Task]] to get the following special local variables from the task:

Revision as of 20:58, 13 June 2021

Hover & click on the images for description

Description

Description:
1.00
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:
taskCompletedregisterTaskregisteredTasksunregisterTasksendTaskcreateTask

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