isActionMenuVisible: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>")
(Add shownAction seeAlso link)
 
Line 14: Line 14:
|x1= <sqf>if (isActionMenuVisible) then { hint "Scroll menu is opened" };</sqf>
|x1= <sqf>if (isActionMenuVisible) then { hint "Scroll menu is opened" };</sqf>


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



Latest revision as of 23:15, 8 May 2026

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 shownAction BIS_fnc_addCommMenuItem BIS_fnc_removeCommMenuItem

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
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 "";