hcShownBar: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


|gr1= High Command |GROUP1=
|gr1= High Command |GROUP1=
____________________________________________________________________________________________


| Return true if the [[High Command|high command]] bar is shown/active. |DESCRIPTION=
| Return true if the [[High Command|high command]] bar is shown/active. |DESCRIPTION=
____________________________________________________________________________________________


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


____________________________________________________________________________________________


| [[High Command]]
| [[High Command]]
Line 40: Line 36:


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



Revision as of 02:33, 17 January 2021

Hover & click on the images for description

Description

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

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