selectLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (VBS2 scripting category removal)
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 VBS2|{{uc:{{PAGENAME}}}}]]

Revision as of 05:17, 19 July 2011

-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