ctrlEnabled
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint
- Version:
- 1.5
Description
- Description:
- Returns if a control on the currently active user dialog is enabled. Disabled controls cannot be clicked onto. Read Dialog Control for more information about user dialogs and controls.
Syntax
- Syntax:
- Boolean = ctrlEnabled idc
- Parameters:
- idc: Number - control ID
- Return Value:
- Boolean - true if the control is enabled, false if not.
Examples
- Example 1:
?!(ctrlEnabled 100) : ctrlEnable [100,true]
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- ctrlEnable

