setVisibleIfTreeCollapsed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
Line 30: Line 30:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <sqf>_map setVisibleIfTreeCollapsed ["_unit_0", true]</sqf>
|x1= <sqf>_map setVisibleIfTreeCollapsed ["_unit_0", true];</sqf>


|seealso= -
|seealso= -
}}
}}

Revision as of 23:42, 28 June 2022

Hover & click on the images for description

Description

Description:
Sets whether or not the object is visible even if the tree is collapsed.
Some Old Editor Command
Groups:
Game 2 Editor

Syntax

Syntax:
map setVisibleIfTreeCollapsed [object, visible]
Parameters:
map: Control
[object, visible]: Array
object: EditorObject
visible: Boolean
Return Value:
Nothing

Examples

Example 1:
_map setVisibleIfTreeCollapsed ["_unit_0", true];

Additional Information

See also:
-

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