isFormationLeader: Difference between revisions
 (updated see also - xxxFollow commands to break subgroup leader)  | 
				Lou Montana (talk | contribs)  m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")  | 
				||
| Line 36: | Line 36: | ||
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]  | [[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]  | ||
[[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]]  | [[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]]  | ||
[[Category:Scripting Commands   | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]  | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]  | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]  | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]  | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]  | ||
Revision as of 11:51, 10 January 2020
Description
- Description:
 - Returns true if the specified unit is subgroup leader.
 - Groups:
 - Uncategorised
 
Syntax
- Syntax:
 - isFormationLeader unit
 - Parameters:
 - unit: Object - Unit being checked.
 - Return Value:
 - Boolean - true if unit is subgroup leader.
 
Examples
- Example 1:
 _isLeader = isFormationLeader player;
Additional Information
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