hideSelection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command
|arma3|Game name=
|arma3


|1.58|Game version=
|1.58


|eff= global|Multiplayer Effects=
|eff= global


|arg= local|Multiplayer Arguments=
|arg= local


|gr1= Object Manipulation |GROUP1=
|gr1= Object Manipulation


| Hides or enables the given selection for the [[createSimpleObject | simple object]] |DESCRIPTION=
| Hides or enables the given selection for the [[createSimpleObject | simple object]]


| object '''hideSelection''' [selection, hidden] |SYNTAX=
| object '''hideSelection''' [selection, hidden]


|p1= selection: [[Object]] - simple object |PARAMETER1=
|p1= selection: [[Object]] - simple object
|p2= [selection, hidden]: [[Array]] |PARAMETER2=
|p2= [selection, hidden]: [[Array]]
|p3= selection: [[String]] - selection name |PARAMETER3=
|p3= selection: [[String]] - selection name
|p4= hidden: [[Boolean]] - [[true]] to hide, [[false]] to show |PARAMETER4=
|p4= hidden: [[Boolean]] - [[true]] to hide, [[false]] to show


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


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


| [[createSimpleObject]], [[selectionNames]] |SEEALSO=
| [[createSimpleObject]], [[selectionNames]]
|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
}}
}}

Revision as of 00:40, 18 January 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:
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