hideSelection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Undo revision 138178 by killzone_kid (talk) the command is for simple object only pretty sure hide[] is not necessary,)
Tag: Undo
m (Text replacement - "Bool" to "Boolean")
Line 15: Line 15:
|p2= [selection, hidden]: [[Array]] |PARAMETER2=
|p2= [selection, hidden]: [[Array]] |PARAMETER2=
|p3= selection: [[String]] - selection name |PARAMETER3=
|p3= selection: [[String]] - selection name |PARAMETER3=
|p4= hidden: [[Bool]] - [[true]] to hide, [[false]] to show |PARAMETER4=
|p4= hidden: [[Boolean]] - [[true]] to hide, [[false]] to show |PARAMETER4=


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

Revision as of 00:19, 24 August 2020

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: Boolean - 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