isAgent: Difference between revisions
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]] |= | |p1= teamMember: [[Team Member]] |PARAMETER1= | ||
|p2= |= | |p2= |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
|x1= <code>[[isAgent]] [[teamMember]] _unit;</code>|= | |x1= <code>[[isAgent]] [[teamMember]] _unit;</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[agent]], [[agents]], [[createAgent]], [[forEachMemberAgent]] |= | | [[agent]], [[agents]], [[createAgent]], [[forEachMemberAgent]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:34, 7 April 2019
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