agent: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 108343 by R3vo on 2018-06-12T22:48:14Z) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| '''agent''' teamMember |= Syntax | | '''agent''' teamMember |= Syntax | ||
|p1= teamMember: [[Team Member]] |= | |p1= teamMember: [[Team Member]] |PARAMETER1= | ||
|p2= |= | |p2= |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
| [[Object]] |= | | [[Object]] |RETURNVALUE= | ||
|x1= <code>_obj = [[agent]] [[teamMember]] _unit;</code>|= | |x1= <code>_obj = [[agent]] [[teamMember]] _unit;</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[agents]], [[createAgent]], [[forEachMemberAgent]], [[isAgent]] |= | | [[agents]], [[createAgent]], [[forEachMemberAgent]], [[isAgent]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:28, 7 April 2019
Description
- Description:
- Return a person for a given agent.
- Groups:
- Uncategorised
Syntax
- Syntax:
- agent teamMember
- Parameters:
- teamMember: Team Member
- Return Value:
- Object
Examples
- Example 1:
_obj = agent teamMember _unit;
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