hideSelection

From Bohemia Interactive Community
Revision as of 13:52, 19 October 2019 by DrSova (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

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

Bottom Section

Notes

Bottom Section

Posted on October 19, 2019 - 12:52 (UTC)
DrSova
You need to add a selection into hiddenSelections[] parameter or hide[] (subclass SimpleObject) parameter in a config class, if you want to hide selection via this command.