hcShowBar: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:ArmA 2: New Scripting Commands List\|{{uc:{{PAGENAME}}}}\]\]\s*" to "")
mNo edit summary
 
(44 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma2 |Game name=
|game1= arma2
|version1= 1.00


|1.00|Game version=
|game2= arma2oa
____________________________________________________________________________________________
|version2= 1.50


| Shows or hides [[High Command|high command]] bar. There must be some groups under HC command to show HC bar.<br><br>
|game3= tkoh
{{Feature arma3| Since Arma 3 v1.93.145657 this command returns [[Nothing]] as it should}}  |DESCRIPTION=
|version3= 1.00
____________________________________________________________________________________________


| '''hcShowBar''' bool |SYNTAX=
|game4= arma3
|version4= 0.50


|p1= bool: [[Boolean]]  |PARAMETER1=  
|gr1= High Command


|p2= |PARAMETER2=
|descr= Shows or hides [[High Command|high command]] bar. There must be some groups under HC command to show HC bar.{{Feature|arma3| Since Arma 3 v1.94 this command returns [[Nothing]] as it should}}


|p3= |PARAMETER3=  
|s1= [[hcShowBar]] bool


| [[Nothing]] (prior to Arma 3 v1.93.145657 this command returned [[Object]] of [[objNull | null]] value)  |RETURNVALUE=
|p1= bool: [[Boolean]]


|r1= [[Nothing]] - (before {{GVI|arma3|1.94|size= 0.75}} this command returned [[Object]] of [[objNull | null]] value)


|x1= <code>[[hcShowBar]] [[true]];</code>|EXAMPLE1=
|x1= <sqf>hcShowBar true;</sqf>
|x2= <code>[[hcShowBar]] [[false]];</code>|EXAMPLE2=
|x2= <sqf>hcShowBar false;</sqf>


____________________________________________________________________________________________
|seealso= [[High Command]] [[hcAllGroups]] [[hcGroupParams]] [[hcLeader]] [[hcRemoveAllGroups]] [[hcRemoveGroup]] [[hcSelected]] [[hcSelectGroup]] [[hcSetGroup]] [[hcShownBar]] [[onHCGroupSelectionChanged]]
 
| [[High Command]], [[hcAllGroups]], [[hcGroupParams]], [[hcLeader]], [[hcRemoveAllGroups]], [[hcRemoveGroup]], [[hcSelected]], [[hcSelectGroup]], [[hcSetGroup]], [[hcShownBar]], [[onHCGroupSelectionChanged]] |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:12, 28 September 2023

Hover & click on the images for description

Description

Description:
Shows or hides high command bar. There must be some groups under HC command to show HC bar.
Arma 3
Since Arma 3 v1.94 this command returns Nothing as it should
Groups:
High Command

Syntax

Syntax:
hcShowBar bool
Parameters:
bool: Boolean
Return Value:
Nothing - (before Arma 3 logo black.png1.94 this command returned Object of null value)

Examples

Example 1:
hcShowBar true;
Example 2:
hcShowBar false;

Additional Information

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