onCommandModeChanged

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

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.
i Since Arma 3 v1.57 a stackable version of this EH is available: CommandModeChanged

Syntax

Syntax:
onCommandModeChanged code
Parameters:
code: Code or String -
Return Value:
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

Additional Information

Multiplayer:
-
See also:
High CommandhcAllGroupshcGroupParamshcLeaderhcRemoveAllGroupshcRemoveGrouphcSelectedhcSelectGrouphcSetGrouphcShowBarhcShownBaronHCGroupSelectionChanged

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section