hideSelection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ")
m (Fixed incorrect name for parameter 1)
Line 13: Line 13:
|s1= object [[hideSelection]] [selection, hidden]
|s1= object [[hideSelection]] [selection, hidden]


|p1= selection: [[Object]] - simple object
|p1= object: [[Object]] - simple object
|p2= [selection, hidden]: [[Array]]
|p2= [selection, hidden]: [[Array]]
|p3= selection: [[String]] - selection name
|p3= selection: [[String]] - selection name

Revision as of 16:49, 11 October 2021

Hover & click on the images for description

Description

Description:
Hides or enables the given selection for the simple object
Groups:
Object Manipulation

Syntax

Syntax:
object hideSelection [selection, hidden]
Parameters:
object: 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