registeredTasks: Difference between revisions
Jump to navigation
Jump to search
(syntax, fixed/added example, seealso) |
m (typo, link) |
||
Line 23: | Line 23: | ||
|x1= <code>tasklist = [[registeredTasks]]] [[teamMember]] [[player]];</code>|= EXAMPLE1 | |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"]; | ||
[[hint]] [[str]] [[registeredTasks | [[hint]] [[str]] [[registeredTasks]] [[teamMember]] _rabbit;</code> | ||
Hint shows <tt>["Animal Main Task"]</tt> in Arma 3.|= EXAMPLE2 | Hint shows <tt>["Animal Main Task"]</tt> in Arma 3.|= EXAMPLE2 | ||
Revision as of 13:57, 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