registeredTasks: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game name=" to "|Game name= |gr1= Briefing |GROUP1= ") |
mNo edit summary |
||
Line 6: | Line 6: | ||
|gr1= Briefing |GROUP1= | |gr1= Briefing |GROUP1= | ||
|gr2= Teams |GROUP2= | |||
|1.00|Game version= | |1.00|Game version= |
Revision as of 13:26, 24 September 2020
Description
- Description:
- Returns array with all registered task types for the given agent. The values are the names set in CfgTasks classes name property. The same names are used for unregisterTask
- Groups:
- BriefingTeams
Syntax
- Syntax:
- registeredTasks teamMember
- 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
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