ctrlEnable
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:
- Enable or disable a control of the currently active user dialog. Disabled controls cannot be clicked onto. Read Dialog Control for more information about user dialogs and controls.
Syntax
- Syntax:
- ctrlEnable [idc, enable]
- Parameters:
- idc: Integer - control ID
- enable: Boolean - true to enable the dialog, false to disable it
- Return Value:
- Nothing
Examples
- Example 1:
ctrlEnable [100,false]
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- ctrlEnabled

