hcShowBar: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
mNo edit summary
 
(14 intermediate revisions by one other user not shown)
Line 17: Line 17:
|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}}
|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}}


|s1= '''hcShowBar''' bool
|s1= [[hcShowBar]] bool


|p1= bool: [[Boolean]]
|p1= bool: [[Boolean]]


|r1=[[Nothing]] (prior to Arma 3 v1.94 this command returned [[Object]] of [[objNull | null]] value)
|r1= [[Nothing]] - (before {{GVI|arma3|1.94|size= 0.75}} this command returned [[Object]] of [[objNull | null]] value)


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


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

Latest revision as of 10: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