registeredTasks: Difference between revisions
Jump to navigation
Jump to search
m (typo, link) |
mNo edit summary |
||
Line 21: | Line 21: | ||
|x1= <code>tasklist = [[registeredTasks | |x1= <code>tasklist = [[registeredTasks]] [[teamMember]] [[player]];</code>|= EXAMPLE1 | ||
|x2= <code>_rabbit = [[createAgent]] ["Rabbit_F", [[position]] [[player]],[], 0, "None"]; | |x2= <code>_rabbit = [[createAgent]] ["Rabbit_F", [[position]] [[player]],[], 0, "None"]; |
Revision as of 13:59, 11 April 2014
Description
- Description:
- List all registered task types.
- Groups:
- Uncategorised
Syntax
- Syntax:
- registeredTasks member
- Parameters:
- member: Team Member
- Return Value:
- Array of Strings
Examples
- Example 1:
tasklist = registeredTasks teamMember player;
- 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:
- registerTask
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