ctrlShow: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofpr |= Game name | |||
|1.5|= Game version | |||
|arg= local |= Arguments in MP | |||
|eff= local |= Effects in MP | |||
____________________________________________________________________________________________ | |||
| 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. |= Description | |||
____________________________________________________________________________________________ | |||
'''[idc, show] | | '''ctrlShow''' [idc, show] |= Syntax | ||
|p1= idc: [[Integer]] - control ID |= Parameter 1 | |||
[[ | |p2= show:: [[Boolean]] - true if the control should be shown, false if not |= Parameter 2 | ||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>ctrlShow [100,false]</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| [[ctrlVisible]] |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|CTRLSHOW]] | |||
[[Category:Scripting Commands OFP 1.96|CTRLSHOW]] | |||
[[Category:Scripting Commands ArmA|CTRLSHOW]] |
Revision as of 23:34, 1 August 2006
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.
- Groups:
- Uncategorised
Syntax
- Syntax:
- ctrlShow [idc, show]
- Parameters:
- idc: Integer - control ID
- show:: Boolean - true if the control should be shown, false if not
- Return Value:
- Nothing
Examples
- Example 1:
ctrlShow [100,false]
Additional Information
- See also:
- ctrlVisible
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