ctrlShow

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Operation Flashpoint version 1.5
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain 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:
Set if a control of the currently active user dialog is shown or not. Read Dialog Control for more information about user dialogs and controls.

Syntax

Syntax:
ctrlShow [idc, show]
Parameters:
[idc, show]: Array
idc: Integer - control ID
show: Boolean - true if the control should be shown, false if not
Return Value:
Nothing

Alternative Syntax

Syntax:
controlName ctrlShow show
Parameters:
controlName: Control
show: Boolean
Return Value:
Nothing

Examples

Example 1:
ctrlShow [100, false ];
Example 2:
_control ctrlShow false;

Additional Information

Multiplayer:
-
See also:
ctrlVisiblectrlShownctrlEnable

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section