ctrlVisible: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| ofp | | | ofp |Game name= | ||
|1.5| | |1.5|Game version= | ||
|arg= local |= | |arg= local |Multiplayer Arguments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns if a control of the currently active user dialog is shown or not. Read [[Dialog Control]] for more information about user dialogs and controls. |= | | Returns if a control of the currently active user dialog is shown or not. Read [[Dialog Control]] for more information about user dialogs and controls. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Boolean]] <nowiki>=</nowiki> '''ctrlVisible''' idc |= | | [[Boolean]] <nowiki>=</nowiki> '''ctrlVisible''' idc |SYNTAX= | ||
|p1= idc: [[Number]] - control ID |= | |p1= idc: [[Number]] - control ID |PARAMETER1= | ||
| [[Boolean]] - true if the control is shown, false if not |= | | [[Boolean]] - true if the control is shown, false if not |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_bool = [[ctrlVisible]] 100;</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ctrlShow]], [[ctrlShown]] |= | | [[ctrlShow]], [[ctrlShown]] |SEEALSO= | ||
}} | }} | ||
Line 36: | Line 36: | ||
[[Category:Scripting Commands|CTRLVISIBLE]] | [[Category:Scripting Commands|CTRLVISIBLE]] | ||
[[Category:Scripting Commands OFP 1.99|CTRLVISIBLE]] | |||
[[Category:Scripting Commands OFP 1.96|CTRLVISIBLE]] | [[Category:Scripting Commands OFP 1.96|CTRLVISIBLE]] | ||
[[Category:Scripting Commands ArmA|CTRLVISIBLE]] | [[Category:Scripting Commands ArmA|CTRLVISIBLE]] |
Revision as of 04:34, 31 August 2019
Description
- Description:
- Returns if a control of the currently active user dialog is shown or not. Read Dialog Control for more information about user dialogs and controls.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Boolean = ctrlVisible idc
- Parameters:
- idc: Number - control ID
- Return Value:
- Boolean - true if the control is shown, false if not
Examples
- Example 1:
_bool = ctrlVisible 100;
Additional Information
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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.5
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Command Group: GUI Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters