ctrlShow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|1.5 " to "| ")
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
Line 27: Line 27:
|s2= controlName [[ctrlShow]] show
|s2= controlName [[ctrlShow]] show


|p21=  controlName: [[Control]] |PARAMETER21=
|p21=  controlName: [[Control]]


|p22= show: [[Boolean]] |Parameter22=
|p22= show: [[Boolean]] |Parameter22=

Revision as of 18:10, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control

Syntax

Syntax:
Syntax needed
Parameters:
[idc, show]: Array
idc: Number - control ID
show: Boolean - true if the control should be shown, false if not
Return Value:
Return value needed

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

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