ctrlEnabled

From Bohemia Interactive Community
Revision as of 01:27, 5 February 2021 by R3vo (talk | contribs) (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control

Syntax

Syntax:
Syntax needed
Parameters:
idc: Number - control ID
Return Value:
Return value needed

Alternative Syntax

Syntax:
Boolean = ctrlEnabled controlName
Parameters:
controlName: Control
Return Value:
Boolean

Examples

Example 1:
if (!(ctrlEnabled 100)) then
{
  ctrlEnable [100, true]
};
Example 2:
_enabled = ctrlEnabled _control

Additional Information

See also:
See also needed

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