registeredTasks: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| '''registeredTasks''' member |= Syntax | | '''registeredTasks''' member |= Syntax | ||
|p1= member: [[Team Member]] |= | |p1= member: [[Team Member]] |PARAMETER1= | ||
|p2= |= | |p2= |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
|[[Array]] of [[String]]s |= | |[[Array]] of [[String]]s |RETURNVALUE= | ||
|x1= <code>tasklist = [[registeredTasks]] [[teamMember]] [[player]];</code>|= | |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]] [[teamMember]] _rabbit;</code> | [[hint]] [[str]] [[registeredTasks]] [[teamMember]] _rabbit;</code> | ||
Hint shows <tt>["Animal Main Task"]</tt> in Arma 3.|= | Hint shows <tt>["Animal Main Task"]</tt> in Arma 3.|EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[registerTask]] |= | | [[registerTask]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:36, 7 April 2019
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