isAgent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (example)
Line 21: Line 21:




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <code>[[isAgent]] [[teamMember]] _unit</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________
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|AgentRev]]</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 17:51, 12 June 2018

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