unregisterTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 17: Line 17:
| Unregisters a task type from given agent. The task type is the name given in <tt>CfgTasks</tt> classes in <tt>name</tt> property. Also available from [[registeredTasks]] array.
| Unregisters a task type from given agent. The task type is the name given in <tt>CfgTasks</tt> classes in <tt>name</tt> property. Also available from [[registeredTasks]] array.


| teamMember '''unregisterTask''' name
|s1=  teamMember '''unregisterTask''' name


|p1= teamMember: [[Team Member]] - [[teamMember]] [[agent]]
|p1= teamMember: [[Team Member]] - [[teamMember]] [[agent]]

Revision as of 23:27, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Briefing

Syntax

Syntax:
teamMember unregisterTask name
Parameters:
teamMember: Team Member - teamMember agent
name: String - name of the task
Return Value:
Boolean - true on success

Examples

Example 1:
teamMember _agent unregisterTask (registeredTasks select 0);

Additional Information

See also:
registerTaskregisteredTaskssendTaskcreateTaskcurrentTaskstaskCompleted

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