selectLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 42: Line 42:
[[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{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 12:03, 25 March 2013

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Select a group's leader.
Groups:
Uncategorised

Syntax

Syntax:
groupName selectLeader unitName
Parameters:
groupName: Group
unitName: Object
Return Value:
Nothing

Examples

Example 1:
group player selectLeader player

Additional Information

See also:
formationLeaderformLeaderleaderisFormationLeader

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

SnowSky: In Multiplayer the command has to be executed on the client which the group is actually local, otherwhise the effect would stay only for shorter then 1 second. P.S.: remember, Teamleader is not equivalent to the client on which the group is local!

Bottom Section