onCommandModeChanged: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|") |
Lou Montana (talk | contribs) m (Text replacement - "\| *p([0-9]+) *=([^↵]+) -↵" to "|p$1=$2") |
||
Line 22: | Line 22: | ||
|s1= [[onCommandModeChanged]] code | |s1= [[onCommandModeChanged]] code | ||
|p1= code: [[Code]] or [[String]] | |p1= code: [[Code]] or [[String]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Revision as of 11:51, 26 March 2024
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.
- Groups:
- Event HandlersHigh Command
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
- See also:
- High Command hcAllGroups hcGroupParams hcLeader hcRemoveAllGroups hcRemoveGroup hcSelected hcSelectGroup hcSetGroup hcShowBar hcShownBar onHCGroupSelectionChanged
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note