formationLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
Line 38: Line 38:
[[Category:Scripting Commands|FORMATIONLEADER]]
[[Category:Scripting Commands|FORMATIONLEADER]]
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 20:48, 8 January 2021

Hover & click on the images for description

Description

Description:
Return leader of the formation.
Groups:
Unit Control

Syntax

Syntax:
Object = formationLeader unitName
Parameters:
unitName: Object
Return Value:
Object

Examples

Example 1:
? (formationLeader player != leader player) :
 hint "Formation leader is not the group leader."

Additional Information

See also:
commandFollowdoFollowformLeaderisFormationLeaderleaderselectLeadersetLeader

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.

Bottom Section