agent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 15: Line 15:
|gr1= Teams
|gr1= Teams


| Return a person for a given agent.
|descr= Return a person for a given agent.


|s1=  '''agent''' teamMember
|s1=  '''agent''' teamMember

Revision as of 20:55, 13 June 2021

Hover & click on the images for description

Description

Description:
Return a person for a given agent.
Groups:
Teams

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