hideSelection

From Bohemia Interactive Community
Revision as of 22:34, 20 October 2019 by Killzone Kid (talk | contribs) (Undo revision 138177 by killzone_kid (talk))
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.