agent: Difference between revisions

From Bohemia Interactive Community
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]] |= PARAMETER1
|p1= teamMember: [[Team Member]] |PARAMETER1=  


|p2= |= PARAMETER2
|p2= |PARAMETER2=  


|p3= |= PARAMETER3
|p3= |PARAMETER3=  


| [[Object]] |= RETURNVALUE
| [[Object]] |RETURNVALUE=  




|x1= <code>_obj = [[agent]] [[teamMember]] _unit;</code>|= EXAMPLE1
|x1= <code>_obj = [[agent]] [[teamMember]] _unit;</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[agents]], [[createAgent]], [[forEachMemberAgent]], [[isAgent]] |= SEEALSO
| [[agents]], [[createAgent]], [[forEachMemberAgent]], [[isAgent]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:28, 7 April 2019

Hover & click on the images for description

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

See also:
agentscreateAgentforEachMemberAgentisAgent

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

Notes

Bottom Section