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 (Some wiki formatting)
 
(25 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
|arma3|Game name=
|game1= arma3
|version1= 1.58


|1.58|Game version=
|eff= global


|eff= global|Multiplayer Effects=
|arg= local


|arg= local|Multiplayer Arguments=
|gr1= Object Manipulation


|gr1= Object Manipulation |GROUP1=
|descr= Hides or shows the [[createSimpleObject | simple object]]'s provided selection.


| Hides or enables the given selection for the [[createSimpleObject | simple object]] |DESCRIPTION=
|s1= object [[hideSelection]] [selection, hidden]


| object '''hideSelection''' [selection, hidden] |SYNTAX=
|p1= object: [[Object]] - simple object


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


| [[Nothing]] |RETURNVALUE=
|p3= hidden: [[Boolean]] - [[true]] to hide, [[false]] to show


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


| [[createSimpleObject]], [[selectionNames]] |SEEALSO=
|x1= <sqf>_simpleObject hideSelection ["some_selection", true];</sqf>
|  |MPBEHAVIOUR=
 
|seealso= [[createSimpleObject]] [[selectionNames]] [[allLODs]]
}}
}}
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|New Scripting Commands}}
<h3 style='display:none'>Notes</h3>
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>

Latest revision as of 16:23, 15 August 2022

Hover & click on the images for description

Description

Description:
Hides or shows the simple object's provided selection.
Groups:
Object Manipulation

Syntax

Syntax:
object hideSelection [selection, hidden]
Parameters:
object: Object - simple object
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:
createSimpleObject selectionNames allLODs

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