registeredTasks: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - " \|(\[\[[a-zA-Z]+\]\].+) * \|x1=" to " |r1= $1 |x1=")
Line 15: Line 15:
|p1= teamMember: [[Team Member]] - [[teamMember]] [[agent]]
|p1= teamMember: [[Team Member]] - [[teamMember]] [[agent]]


|[[Array]] of [[String]]s - names of tasks
|r1= [[Array]] of [[String]]s - names of tasks


|x1= <code>tasklist = [[registeredTasks]] [[teamMember]] _agent;</code>
|x1= <code>tasklist = [[registeredTasks]] [[teamMember]] _agent;</code>

Revision as of 17:13, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
BriefingTeams

Syntax

Syntax:
Syntax needed
Parameters:
teamMember: Team Member - teamMember agent
Return Value:
Array of Strings - names of tasks

Examples

Example 1:
tasklist = registeredTasks teamMember _agent;
Example 2:
_rabbit = createAgent ["Rabbit_F", position player,[], 0, "None"]; hint str registeredTasks teamMember _rabbit; Hint shows ["Animal Main Task"] in Arma 3.

Additional Information

See also:
registerTaskunregisterTasksendTaskcreateTaskcurrentTaskstaskCompleted

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