hcLeader

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
Returns group's high command commander.

Syntax

Syntax:
hcLeader group
Parameters:
group: Group -
Return Value:
Object

Examples

Example 1:
_leader = hcLeader groupName;

Additional Information

Multiplayer:
-
See also:
High CommandhcAllGroupshcGroupParamshcRemoveAllGroupshcRemoveGrouphcSelectedhcSelectGrouphcSetGrouphcShowBarhcShownBaronHCGroupSelectionChanged

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Posted on September 2, 2009
Dimitri Harkov
hcLeader returns 'NULL_OBJECT' if you use it on your HC commander's group in a HC setup with subordinates. It seems to work as expected if you don't use subordinates.

Bottom Section