hideSelection: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|descr= Hides or | |descr= Hides or shows the [[createSimpleObject | simple object]]'s provided selection. | ||
|s1= object [[hideSelection]] [selection, hidden] | |s1= object [[hideSelection]] [selection, hidden] | ||
|p1= object: [[Object]] - simple object | |p1= object: [[Object]] - simple object | ||
|p2 | |||
|p2= selection: [[String]] - selection name | |||
| | |||
|p3= hidden: [[Boolean]] - [[true]] to hide, [[false]] to show | |||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>_simpleObject hideSelection ["some_selection", true];</sqf> | ||
|seealso= [[createSimpleObject]] [[selectionNames]] [[allLODs]] | |seealso= [[createSimpleObject]] [[selectionNames]] [[allLODs]] | ||
}} | }} |
Latest revision as of 16:23, 15 August 2022
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:
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