onCommandModeChanged: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^↵][^<]*↵[^<]*)<\/sqf>" to "<sqf> $1 </sqf>") |
||
(57 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma2 |= | |game1= arma2 | ||
|version1= 1.00 | |||
|1. | |game2= arma2oa | ||
|version2= 1.50 | |||
| | |game3= tkoh | ||
|version3= 1.00 | |||
| | |game4= arma3 | ||
|version4= 0.50 | |||
| | |gr1= Event Handlers | ||
| | |gr2= High Command | ||
| | |descr= 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. | ||
{{Feature|informative|Since '''Arma 3''' ''v1.57'' a stackable version of this EH is available: [[Arma 3: Mission Event Handlers#CommandModeChanged|CommandModeChanged]]}} | |||
| | |s1= [[onCommandModeChanged]] code | ||
|p1= code: [[Code]] or [[String]] | |||
|r1= [[Nothing]] | |||
|x1= < | |x1= <sqf> | ||
//Examples in-use can be found in: | |||
//ca\modules\HC\data\scripts\HC_GUI.sqf | |||
//A3\modules_f\HC\data\scripts\HC_GUI.sqf | |||
</sqf> | |||
| | |seealso= [[High Command]] [[hcAllGroups]] [[hcGroupParams]] [[hcLeader]] [[hcRemoveAllGroups]] [[hcRemoveGroup]] [[hcSelected]] [[hcSelectGroup]] [[hcSetGroup]] [[hcShowBar]] [[hcShownBar]] [[onHCGroupSelectionChanged]] | ||
}} | }} | ||
Latest revision as of 19:43, 3 September 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