hcShownBar: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also format)
m (template:command argument fix)
Line 12: Line 12:
| '''hcShownBar''' |= Syntax
| '''hcShownBar''' |= Syntax


|p1= |= PARAMETER1
|p1= |PARAMETER1=  


|p2= |= PARAMETER2
|p2= |PARAMETER2=  


|p3= |= PARAMETER3
|p3= |PARAMETER3=  


| [[Boolean]] |= RETURNVALUE
| [[Boolean]] |RETURNVALUE=  




|x1= <code>[[if]] ([[hcShownBar]]) [[then]] {[[hint]] "HC bar is active";};</code>|= EXAMPLE1
|x1= <code>[[if]] ([[hcShownBar]]) [[then]] {[[hint]] "HC bar is active";};</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________
Line 35: Line 35:
[[hcSetGroup]]
[[hcSetGroup]]
[[hcShowBar]]
[[hcShowBar]]
[[onHCGroupSelectionChanged]] |= SEEALSO
[[onHCGroupSelectionChanged]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:34, 7 April 2019

Hover & click on the images for description

Description

Description:
Return true if the high command bar is shown/active.
Groups:
Uncategorised

Syntax

Syntax:
hcShownBar
Return Value:
Boolean

Examples

Example 1:
if (hcShownBar) then {hint "HC bar is active";};

Additional Information

See also:
High Command hcAllGroups hcGroupParams hcLeader hcRemoveAllGroups hcRemoveGroup hcSelected hcSelectGroup hcSetGroup hcShowBar 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

Notes

Bottom Section