registeredTasks: Difference between revisions
Jump to navigation
Jump to search
Waffle SS. (talk | contribs) No edit summary |
(syntax, fixed/added example, seealso) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''registeredTasks''' | | '''registeredTasks''' member |= Syntax | ||
|p1= |= PARAMETER1 | |p1= member: [[Team Member]] |= PARAMETER1 | ||
|p2= |= PARAMETER2 | |p2= |= PARAMETER2 | ||
Line 18: | Line 18: | ||
|p3= |= PARAMETER3 | |p3= |= PARAMETER3 | ||
|[[ | |[[Array]] of [[String]]s |= RETURNVALUE | ||
|x1= <code>tasklist < | |x1= <code>tasklist = [[registeredTasks]]] [[teamMember]] [[player]];</code>|= EXAMPLE1 | ||
|x2= <code>_rabbit = createAgent ["Rabbit_F", [[position]] [[player]],[], 0, "None"]; | |||
[[hint]] [[str]] [[registeredTasks]]] [[teamMember]] _rabbit;</code> | |||
Hint shows <tt>["Animal Main Task"]</tt> in Arma 3.|= EXAMPLE2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[registerTask]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 13:55, 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