formationLeader: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Unit Control |GROUP1= | |gr1= Unit Control |GROUP1= | ||
| Return leader of the formation. |DESCRIPTION= | | Return leader of the formation. |DESCRIPTION= | ||
| [[Object]] <nowiki>=</nowiki> '''formationLeader''' unitName|SYNTAX= | | [[Object]] <nowiki>=</nowiki> '''formationLeader''' unitName|SYNTAX= | ||
Line 17: | Line 14: | ||
| [[Object]] |RETURNVALUE= | | [[Object]] |RETURNVALUE= | ||
|x1= <pre>? (formationLeader player != leader player) : | |x1= <pre>? (formationLeader player != leader player) : | ||
hint "Formation leader is not the group leader."</pre> |EXAMPLE1= | hint "Formation leader is not the group leader."</pre> |EXAMPLE1= | ||
| [[commandFollow]], [[doFollow]], [[formLeader]], [[isFormationLeader]], [[leader]], [[selectLeader]], [[setLeader]] |SEEALSO= | | [[commandFollow]], [[doFollow]], [[formLeader]], [[isFormationLeader]], [[leader]], [[selectLeader]], [[setLeader]] |SEEALSO= |
Revision as of 01:17, 17 January 2021
Description
- Description:
- Return leader of the formation.
- Groups:
- Unit Control
Syntax
Examples
- Example 1:
? (formationLeader player != leader player) : hint "Formation leader is not the group leader."
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
Notes
- Posted on December 2, 2006 - 00:46
- Kronzky
- Return value is <NULL-OBJECT> if no group members exist.