setVisibleIfTreeCollapsed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
Line 13: Line 13:
| map '''setVisibleIfTreeCollapsed''' [object, visible] |= Syntax
| map '''setVisibleIfTreeCollapsed''' [object, visible] |= Syntax


|p1= map: [[Control]] |= PARAMETER1
|p1= map: [[Control]] |PARAMETER1=  


|p2= [object, visible]: [[Array]] |= PARAMETER2
|p2= [object, visible]: [[Array]] |PARAMETER2=  


|p3= object: [[Editor Object | EditorObject]]|= PARAMETER3
|p3= object: [[Editor Object | EditorObject]]|PARAMETER3=  


|p4= visible: [[Boolean]] |= PARAMETER4
|p4= visible: [[Boolean]] |PARAMETER4=  


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




|x1= <code>_map '''setVisibleIfTreeCollapsed''' ["_unit_0", true]</code>|= EXAMPLE1
|x1= <code>_map '''setVisibleIfTreeCollapsed''' ["_unit_0", true]</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


|  |= SEEALSO
|  |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:37, 7 April 2019

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

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:
See also needed

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

Notes

Bottom Section