formationLeader: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= Unit Control | |gr1= Unit Control | ||
| Return leader of the formation. | | Return leader of the formation. | ||
| [[Object]] <nowiki>=</nowiki> '''formationLeader''' unitName | | [[Object]] <nowiki>=</nowiki> '''formationLeader''' unitName | ||
|p1= unitName: [[Object]] | |p1= unitName: [[Object]] | ||
| [[Object]] | | [[Object]] | ||
|x1= <pre>? (formationLeader player != leader player) : | |x1= <pre>? (formationLeader player != leader player) : | ||
hint "Formation leader is not the group leader."</pre> | hint "Formation leader is not the group leader."</pre> | ||
| [[commandFollow]], [[doFollow]], [[formLeader]], [[isFormationLeader]], [[leader]], [[selectLeader]], [[setLeader]] | | [[commandFollow]], [[doFollow]], [[formLeader]], [[isFormationLeader]], [[leader]], [[selectLeader]], [[setLeader]] | ||
}} | }} |
Revision as of 00:36, 18 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.