menuEnabled: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 6: | Line 6: | ||
|gr1= GUI Control - Menu | |gr1= GUI Control - Menu | ||
| Returns if menu entry on given path is enabled or not. | |descr= Returns if menu entry on given path is enabled or not. | ||
|s1= [[menuEnabled]] [idc, path] | |s1= [[menuEnabled]] [idc, path] |
Revision as of 21:10, 13 June 2021
Description
- Description:
- Returns if menu entry on given path is enabled or not.
- Groups:
- GUI Control - Menu
Syntax
- Syntax:
- menuEnabled [idc, path]
- Parameters:
- idc: Number
- path: Array
- Return Value:
- Boolean
Alternative Syntax
- Syntax:
- control menuEnabled path
- Parameters:
- control: Control
- path: Array
- Return Value:
- Boolean
Examples
- Example 1:
_isEnabled = findDisplay 313 displayCtrl 120 menuEnabled [0];
Additional Information
- See also:
- menuEnable
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