hideSelection: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style='display:none'>Notes</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ") |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|arma3 | |game1= arma3 | ||
|version1= 1.58 | |||
|1.58 | |||
|eff= global | |eff= global | ||
Line 10: | Line 9: | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Hides or enables the given selection for the [[createSimpleObject | simple object]] | |descr= Hides or enables the given selection for the [[createSimpleObject | simple object]] | ||
| object | |s1= object [[hideSelection]] [selection, hidden] | ||
|p1= selection: [[Object]] - simple object | |p1= selection: [[Object]] - simple object | ||
Line 19: | Line 18: | ||
|p4= hidden: [[Boolean]] - [[true]] to hide, [[false]] to show | |p4= hidden: [[Boolean]] - [[true]] to hide, [[false]] to show | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1=<code>_simpleObject [[hideSelection]] ["some_selection", [[true]]];</code> | |x1=<code>_simpleObject [[hideSelection]] ["some_selection", [[true]]];</code> | ||
| [[createSimpleObject]], [[selectionNames]] | |seealso= [[createSimpleObject]], [[selectionNames]], [[allLODs]] | ||
}} | }} | ||
Revision as of 18:01, 20 June 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:
- createSimpleObjectselectionNamesallLODs
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