isAgent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 12: Line 12:
| '''isAgent''' teamMember |= Syntax
| '''isAgent''' teamMember |= Syntax


|p1= teamMember: [[Team Member]] |= PARAMETER1
|p1= teamMember: [[Team Member]] |PARAMETER1=  


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


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


| [[Boolean]] |= RETURNVALUE
| [[Boolean]] |RETURNVALUE=  




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


____________________________________________________________________________________________
____________________________________________________________________________________________


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


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

Revision as of 10:34, 7 April 2019

Hover & click on the images for description

Description

Description:
Check if team member is an agent.
Groups:
Uncategorised

Syntax

Syntax:
isAgent teamMember
Parameters:
teamMember: Team Member
Return Value:
Boolean

Examples

Example 1:
isAgent teamMember _unit;

Additional Information

See also:
agentagentscreateAgentforEachMemberAgent

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