ctrlEnabled

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Operation Flashpoint version 1.5Arguments of this scripting command have to be local to the client the command is executed on

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

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Buy ArmA now!