currentTasks: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\[\[Category:ArmA 2: New Scripting Commands List\|{{uc:{{PAGENAME}}}}\]\]\s*" to "")
Line 43: Line 43:


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Revision as of 18:38, 19 September 2019

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

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