onCommandModeChanged: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (edited to remove defunct-pastebin example url; ref to A3 module location, mirroring original example. >>>This page needs a real example, if anyone is familiar with this event)
(description, see also)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Defines an action performed when command mode change. Command receives _isHighCommand bool |= Description
| Defines code performed when hc command mode change either because of (Left Ctrl + Space) shortcut or [[hcShowBar]] scripting command. Attached code receives ''_isHighCommand'' boolean. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''onCommandModeChanged''' command |= Syntax
| '''onCommandModeChanged''' code |= Syntax


|p1= command: -  |= PARAMETER1  
|p1= code: [[Code]] or [[String]] -  |= PARAMETER1  


|p2= |= PARAMETER2  
|p2= |= PARAMETER2  
Line 18: Line 18:
|p3= |= PARAMETER3  
|p3= |= PARAMETER3  


| Nothing |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  




Line 28: Line 28:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[High Command]], [[hcAllGroups]], [[hcGroupParams]], [[hcLeader]], [[hcRemoveAllGroups]], [[hcRemoveGroup]], [[hcSelected]], [[hcSelectGroup]], [[hcSetGroup]], [[hcShowBar]], [[hcShownBar]], [[onHCGroupSelectionChanged]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 04:18, 21 January 2015

Hover & click on the images for description

Description

Description:
Defines code performed when hc command mode change either because of (Left Ctrl + Space) shortcut or hcShowBar scripting command. Attached code receives _isHighCommand boolean.
Groups:
Uncategorised

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 CommandhcAllGroupshcGroupParamshcLeaderhcRemoveAllGroupshcRemoveGrouphcSelectedhcSelectGrouphcSetGrouphcShowBarhcShownBaronHCGroupSelectionChanged

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

Notes

Bottom Section