currentTasks: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (some info) |
Killzone Kid (talk | contribs) No edit summary |
||
Line 29: | Line 29: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[taskCompleted]], [[registerTask]], [[registeredTasks]], [[unregisterTask]], [[sendTask]], [[createTask | | [[taskCompleted]], [[registerTask]], [[registeredTasks]], [[unregisterTask]], [[sendTask]], [[createTask]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 20:14, 15 September 2019
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:
- "_this" Team Member - the teamMember agent the task is assigned to
- "_taskType" String - the name of the task (see registeredTasks)
- "_thisCreated" Number - 1 or 0
- "_thisRunning" Number - 1 or 0
- "_totalCreated" Number - total number of tasks
- "_totalRunning" Number - total number of running tasks
- "_task"Task - often null
- Groups:
- Uncategorised
Syntax
- Syntax:
- currentTasks member
- Parameters:
- member: Team Member
- Return Value:
- Array - array of Tasks
Examples
- Example 1:
currentTasks teamMember _agent
Additional Information
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