isActionMenuVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (arma3dev → arma3)
m (Text replacement - "\{\{Note([^<]*)<code>([^<]*)<\/code>" to "{{Note$1<sqf>$2</sqf>")
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.96


|1.96|Game version=
|gr1= Interaction
____________________________________________________________________________________________


| Returns [[true]] if scroll menu is visible. |DESCRIPTION=
|descr= Returns [[true]] if scroll menu is visible.
____________________________________________________________________________________________


| [[isActionMenuVisible]] |SYNTAX=
|s1= [[isActionMenuVisible]]


| [[Boolean]] |RETURNVALUE=
|r1= [[Boolean]]
____________________________________________________________________________________________


|x1= <code>[[if]] ([[isActionMenuVisible]]) [[then]] { [[hint]] "Scroll menu is opened" };</code> |EXAMPLE1=
|x1= <sqf>if (isActionMenuVisible) then { hint "Scroll menu is opened" };</sqf>
____________________________________________________________________________________________


| [[inGameUISetEventHandler]], [[commandingMenu]], [[showCommandingMenu]], [[BIS_fnc_addCommMenuItem]], [[BIS_fnc_removeCommMenuItem]] |SEEALSO=
|seealso= [[inGameUISetEventHandler]] [[commandingMenu]] [[showCommandingMenu]] [[BIS_fnc_addCommMenuItem]] [[BIS_fnc_removeCommMenuItem]]
}}


| |MPBEHAVIOUR=
{{Note
|user= POLPOX
|timestamp= 20210912035906
|text= To force close Action Menu, use [[showCommandingMenu]].
<sqf>showCommandingMenu "RscGroupRootMenu";
showCommandingMenu "";</sqf>
}}
}}
<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:Arma 3: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:41, 13 May 2022

Hover & click on the images for description

Description

Description:
Returns true if scroll menu is visible.
Groups:
Interaction

Syntax

Syntax:
isActionMenuVisible
Return Value:
Boolean

Examples

Example 1:
if (isActionMenuVisible) then { hint "Scroll menu is opened" };

Additional Information

See also:
inGameUISetEventHandler commandingMenu showCommandingMenu BIS_fnc_addCommMenuItem BIS_fnc_removeCommMenuItem

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
POLPOX - c
Posted on Sep 12, 2021 - 03:59 (UTC)
To force close Action Menu, use showCommandingMenu.
showCommandingMenu "RscGroupRootMenu"; showCommandingMenu "";