---
name: "hcLeader"
type: command
status: ok
groups: ["High Command"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/hcLeader
revid: 379424
updated: 2026-10-31T00:04:41Z
---

# hcLeader

*Command · High Command · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Returns group's high command commander.

## Syntax

```sqf
hcLeader group
```

**Parameters:**

- `group`: [Group](../topics/Group.md)

**Returns:** [Object](../topics/Object.md)

## Examples

### Example 1

```sqf
_leader = hcLeader groupName;
```

## See also

High Command · [hcAllGroups](../commands/hcAllGroups.md) · [hcGroupParams](../commands/hcGroupParams.md) · [hcRemoveAllGroups](../commands/hcRemoveAllGroups.md) · [hcRemoveGroup](../commands/hcRemoveGroup.md) · [hcSelected](../commands/hcSelected.md) · [hcSelectGroup](../commands/hcSelectGroup.md) · [hcSetGroup](../commands/hcSetGroup.md) · [hcShowBar](../commands/hcShowBar.md) · [hcShownBar](../commands/hcShownBar.md) · [onHCGroupSelectionChanged](../commands/onHCGroupSelectionChanged.md)

## Community notes

**Dimitri Harkov** — 2009-09-02

[hcLeader](../commands/hcLeader.md) 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.

<sub>Source: [BI Community Wiki — hcLeader](https://community.bistudio.com/wiki/hcLeader) (revision 379424).</sub>
