currentTasks: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
m (Text replacement - "|Game name=" to "|Game name= |gr1= Briefing |GROUP1= ")
Line 3: Line 3:


| arma2 |Game name=
| arma2 |Game name=
|gr1= Briefing |GROUP1=


|1.00|Game version=
|1.00|Game version=

Revision as of 10:51, 18 September 2020

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:
Briefing

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

Notes

Bottom Section