Arma 3 Scripting

onCommandModeChanged

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Command · also in High Command · Markdown · JSON · original wiki page

Description

Defines code performed when hc command mode changes either because of (Left Ctrl + Space) shortcut or hcShowBar scripting command. Groups hc mode must contain at least one group for this command to work (see High Command). Attached code receives _isHighCommand boolean.

Note

Since Arma 3 v1.57 a stackable version of this EH is available: CommandModeChanged

Syntax

onCommandModeChanged code

Parameters:

Returns: Nothing

Examples

Example 1

//Examples in-use can be found in:

//ca\modules\HC\data\scripts\HC_GUI.sqf
//A3\modules_f\HC\data\scripts\HC_GUI.sqf

See also

High Command · hcAllGroups · hcGroupParams · hcLeader · hcRemoveAllGroups · hcRemoveGroup · hcSelected · hcSelectGroup · hcSetGroup · hcShowBar · hcShownBar · onHCGroupSelectionChanged