isAgent: Difference between revisions
| m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") | No edit summary | ||
| Line 44: | Line 44: | ||
| [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
| [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
| <!-- CONTINUE Notes --> | |||
| <dl class="command_description"> | |||
| <dd class="notedate">Posted on May 19, 2017 - 10:26 (UTC)</dd> | |||
| <dt class="note">[[User:AgentRevolution|AgentRevolution]]</dt> | |||
| <dd class="note"> | |||
| One can check if a unit is an agent via | |||
| <code>[[isAgent]] [[teamMember]] _unit</code> | |||
| </dd> | |||
| </dl> | |||
| <!-- DISCONTINUE Notes --> | |||
Revision as of 11:26, 19 May 2017
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:
- (example)
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
- Posted on May 19, 2017 - 10:26 (UTC)
- AgentRevolution
- 
One can check if a unit is an agent via
isAgent teamMember _unit
 
	