hideSelection: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
|arma3 | |arma3 | ||
|1.58 | |1.58 | ||
|eff= global | |eff= global | ||
|arg= local | |arg= local | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Hides or enables the given selection for the [[createSimpleObject | simple object]] | | Hides or enables the given selection for the [[createSimpleObject | simple object]] | ||
| object '''hideSelection''' [selection, hidden] | | object '''hideSelection''' [selection, hidden] | ||
|p1= selection: [[Object]] - simple object | |p1= selection: [[Object]] - simple object | ||
|p2= [selection, hidden]: [[Array]] | |p2= [selection, hidden]: [[Array]] | ||
|p3= selection: [[String]] - selection name | |p3= selection: [[String]] - selection name | ||
|p4= hidden: [[Boolean]] - [[true]] to hide, [[false]] to show | |p4= hidden: [[Boolean]] - [[true]] to hide, [[false]] to show | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1=<code>_simpleObject [[hideSelection]] ["some_selection", [[true]]];</code> | |x1=<code>_simpleObject [[hideSelection]] ["some_selection", [[true]]];</code> | ||
| [[createSimpleObject]], [[selectionNames]] | | [[createSimpleObject]], [[selectionNames]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} |
Revision as of 00:40, 18 January 2021
Description
- Description:
- Hides or enables the given selection for the simple object
- Groups:
- Object Manipulation
Syntax
- Syntax:
- object hideSelection [selection, hidden]
- Parameters:
- selection: Object - simple object
- [selection, hidden]: Array
- selection: String - selection name
- hidden: Boolean - 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