# High Command (scripting commands)

- [addGroupIcon](../../commands/addGroupIcon.md): Adds icon to a group leader. Returns icon ID, Control icons visibility with setGroupIconsVisible. Since Arma 3 v2.22 the offset can be set separately for 2d and 3d.
- [clearGroupIcons](../../commands/clearGroupIcons.md): Removes all icons from group.
- [getGroupIcon](../../commands/getGroupIcon.md): Get group icon properties. Since Arma 3 v2.22 command also returns 3d offsets.
- [getGroupIconParams](../../commands/getGroupIconParams.md): Returns group icons params used for command bar drawing such as color, text, scale, visibility, waypoint visibility, waypoint color.
- [getGroupIcons](../../commands/getGroupIcons.md): Returns all group icons. Since Arma 3 v2.22 command also returns 3d offsets.
- [groupIconSelectable](../../commands/groupIconSelectable.md): Returns whether or not group icons raise onGroupIconClick, onGroupIconOverEnter and onGroupIconOverLeave events.
- [groupIconsVisible](../../commands/groupIconsVisible.md): Returns array with group icons visibility. A getter for setGroupIconsVisible
- [hcAllGroups](../../commands/hcAllGroups.md): Returns selected groups in high command.
- [hcGroupParams](../../commands/hcGroupParams.md): Returns parameters describing group in high command bar. Return value is array in format [groupName, teamName] or [] if error.
- [hcLeader](../../commands/hcLeader.md): Returns group's high command commander.
- [hcRemoveAllGroups](../../commands/hcRemoveAllGroups.md): Remove all groups from unit's high command bar.
- [hcRemoveGroup](../../commands/hcRemoveGroup.md): Removes group from unit's high command bar.
- [hcSelected](../../commands/hcSelected.md): Returns selected groups in high command.
- [hcSelectGroup](../../commands/hcSelectGroup.md): Select given group in high command bar.
- [hcSetGroup](../../commands/hcSetGroup.md): Add group to unit's high command bar.
- [hcShowBar](../../commands/hcShowBar.md): Shows or hides high command bar. There must be some groups under HC command to show HC bar.
- [hcShownBar](../../commands/hcShownBar.md): Return whether the High Command bar is shown/active.
- [onCommandModeChanged](../../commands/onCommandModeChanged.md): Defines code performed when hc command mode changes either because of (Left Ctrl + Space) shortcut or hcShowBar scripting command.
- [onGroupIconClick](../../commands/onGroupIconClick.md): Defines an action performed when player clicked on group marker (3D or in a map). The code executed once.
- [onGroupIconOverEnter](../../commands/onGroupIconOverEnter.md): Defines an action performed when player moves pointer over group marker (3D or in a map). The code will execute continuously while pointer is over icon.
- [onGroupIconOverLeave](../../commands/onGroupIconOverLeave.md): Defines an action performed when pointer, previously positioned over icon, is moved away from it (3D or in a map). The code is executed once.
- [onHCGroupSelectionChanged](../../commands/onHCGroupSelectionChanged.md): Defines an action performed when high command group selection has been changed.
- [removeGroupIcon](../../commands/removeGroupIcon.md): Remove icon with given ID from group.
- [setGroupIcon](../../commands/setGroupIcon.md): Sets group icon properties. Since Arma 3 v2.22 the offset can be set separately for 2d and 3d.
- [setGroupIconParams](../../commands/setGroupIconParams.md): Set group icons parameters.
- [setGroupIconsSelectable](../../commands/setGroupIconsSelectable.md): Sets if group icons raise onGroupIconClick, onGroupIconOverEnter and onGroupIconOverLeave events.
- [setGroupIconsVisible](../../commands/setGroupIconsVisible.md): Sets if group icons added with addGroupIcon are visible on map and in the HUD.
