hideSelection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reverted edits by DrSova (talk) to last revision by Lou Montana)
Tag: Rollback
(Undo revision 138177 by killzone_kid (talk))
Tag: Undo
Line 37: Line 37:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on October 19, 2019 - 12:52 (UTC)</dd>
<dt class="note">[[User:DrSova|DrSova]]</dt>
<dd class="note">
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.
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 21:34, 20 October 2019

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.