hideSelection: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Killzone Kid (talk | contribs) mNo edit summary |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= Comments | {{Command|= Comments | ||
|arma3|= Game name | |arma3|= Game name | ||
|1.58|= Game version | |1.58|= Game version | ||
|eff= global|= Effects in MP | |eff= global|= Effects in MP | ||
|arg= local|= Arguments in MP | |arg= local|= Arguments in MP | ||
| Hides or enables the given selection for the object |= | |||
| object '''hideSelection''' [selection, hidden] | | Hides or enables the given selection for the [[createSimpleObject | simple object]] |DESCRIPTION= | ||
|p1= selection: [[String]] - | |||
| | | object '''hideSelection''' [selection, hidden] |SYNTAX= | ||
| Nothing |= | |||
</code>|= | |p1= selection: [[Object]] - simple object |PARAMETER1= | ||
| [[createSimpleObject]], [[selectionNames]] |= | |p2= [selection, hidden]: [[Array]] |PARAMETER2= | ||
| |= | |p3= selection: [[String]] - selection name |PARAMETER3= | ||
|p4= hidden: [[Bool]] - [[true]] to hide, [[false]] to show |PARAMETER4= | |||
| [[Nothing]] |RETURNVALUE= | |||
|x1=<code>_simpleObject [[hideSelection]] ["some_selection", [[true]]];</code>|EXAMPLE1= | |||
| [[createSimpleObject]], [[selectionNames]] |SEEALSO= | |||
| |MPBEHAVIOUR= | |||
}} | }} | ||
Line 26: | Line 37: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
Revision as of 20:29, 1 June 2019
Description
- Description:
- Hides or enables the given selection for the simple object
- Groups:
- Uncategorised
Syntax
- Syntax:
- object hideSelection [selection, hidden]
- Parameters:
- selection: Object - simple object
- [selection, hidden]: Array
- selection: String - selection name
- hidden: Bool - true to hide, false to show
- Return Value:
- Nothing
Examples
- Example 1:
_simpleObject hideSelection ["some_selection", true];
Additional Information
- See also:
- createSimpleObjectselectionNames
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