isActionMenuVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|M...)
m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>")
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.96
|1.96


|gr1= Interaction
|gr1= Interaction


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


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


| [[Boolean]]
|r1= [[Boolean]]


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


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


|
{{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>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:34, 3 September 2024

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 "";