High Command
27 scripting commands. Also as Markdown for agents.
- addGroupIconAdds icon to a group leader. Returns icon ID, Control icons visibility with setGroupIconsVisible. Since Arma 3 v2.22 the offset can be set separately…
- clearGroupIconsRemoves all icons from group.
- getGroupIconGet group icon properties. Since Arma 3 v2.22 command also returns 3d offsets.
- getGroupIconParamsReturns group icons params used for command bar drawing such as color, text, scale, visibility, waypoint visibility, waypoint color.
- getGroupIconsReturns all group icons. Since Arma 3 v2.22 command also returns 3d offsets.
- groupIconSelectableReturns whether or not group icons raise onGroupIconClick, onGroupIconOverEnter and onGroupIconOverLeave events.
- groupIconsVisibleReturns array with group icons visibility. A getter for setGroupIconsVisible
- hcAllGroupsReturns selected groups in high command.
- hcGroupParamsReturns parameters describing group in high command bar. Return value is array in format [groupName, teamName] or [] if error.
- hcLeaderReturns group's high command commander.
- hcRemoveAllGroupsRemove all groups from unit's high command bar.
- hcRemoveGroupRemoves group from unit's high command bar.
- hcSelectedReturns selected groups in high command.
- hcSelectGroupSelect given group in high command bar.
- hcSetGroupAdd group to unit's high command bar.
- hcShowBarShows or hides high command bar. There must be some groups under HC command to show HC bar.
- hcShownBarReturn whether the High Command bar is shown/active.
- onCommandModeChangedDefines code performed when hc command mode changes either because of (Left Ctrl + Space) shortcut or hcShowBar scripting command.
- onGroupIconClickDefines an action performed when player clicked on group marker (3D or in a map). The code executed once.
- onGroupIconOverEnterDefines an action performed when player moves pointer over group marker (3D or in a map). The code will execute continuously while pointer is over…
- onGroupIconOverLeaveDefines an action performed when pointer, previously positioned over icon, is moved away from it (3D or in a map). The code is executed once.
- onHCGroupSelectionChangedDefines an action performed when high command group selection has been changed.
- removeGroupIconRemove icon with given ID from group.
- setGroupIconSets group icon properties. Since Arma 3 v2.22 the offset can be set separately for 2d and 3d.
- setGroupIconParamsSet group icons parameters.
- setGroupIconsSelectableSets if group icons raise onGroupIconClick, onGroupIconOverEnter and onGroupIconOverLeave events.
- setGroupIconsVisibleSets if group icons added with addGroupIcon are visible on map and in the HUD.