hideSelection

From Bohemia Interactive Community
Revision as of 21:34, 20 October 2019 by killzone_kid (talk | contribs) (Undo revision 138177 by killzone_kid (talk))
Jump to navigation Jump to search
Introduced with Arma 3 version 1.581.58
Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network
Hover & click on the images for descriptions

Description

Description:
Hides or enables the given selection for the simple object

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

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

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.