---
name: "hcGroupParams"
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/hcGroupParams
revid: 319122
updated: 2022-05-13T09:23:13Z
---

# hcGroupParams

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

## Description

Returns parameters describing group in high command bar. Return value is array in format [groupName, teamName] or [] if error. Possible values for team name:
- `"teammain"` (default)
- `"teamred"`
- `"teamgreen"`
- `"teamblue"`
- `"teamyellow"`

## Syntax

```sqf
unit hcGroupParams group
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
player hcGroupParams someGroup;
```

## See also

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

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