hideSelection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}} " to "")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 19: Line 19:
|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>

Revision as of 10:04, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
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