hideSelection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format, moved note to description)
mNo edit summary
Line 17: Line 17:
|p4= hidden: [[Bool]] - [[true]] to hide, [[false]] to show |PARAMETER4=
|p4= hidden: [[Bool]] - [[true]] to hide, [[false]] to show |PARAMETER4=


| Nothing |RETURNVALUE=  
| [[Nothing]] |RETURNVALUE=  


|x1=<code>_simpleObject [[hideSelection]] ["some_selection", [[true]]];</code>|EXAMPLE1=  
|x1=<code>_simpleObject [[hideSelection]] ["some_selection", [[true]]];</code>|EXAMPLE1=  

Revision as of 21:29, 1 June 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