add3DENLayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
No edit summary
Line 21: Line 21:


|seealso= [[remove3DENLayer]] [[set3DENLayer]] [[get3DENLayerEntities]]
|seealso= [[remove3DENLayer]] [[set3DENLayer]] [[get3DENLayerEntities]]
}}
{{Note
|user= Leopard20
|timestamp= 20230404172800
|text= To get the list of all 3DEN layers, use [[all3DENEntities]].
}}
}}

Revision as of 18:28, 4 April 2023

Hover & click on the images for description

Description

Description:
Adds an editing layer in Eden Editor.
Groups:
Eden Editor

Syntax

Syntax:
parentLayerID add3DENLayer name
Parameters:
parentLayerID : Number - ID of the parent layer. No layer will be created when the ID does not point to a layer. Use -1 to create the layer to root.
name: String - Layer display name
Return Value:
Number - Layer ID

Examples

Example 1:
_myLayer = -1 add3DENLayer "Enemy Base"; _myLayerFort = _myLayer add3DENLayer "Fortifications"; _myLayerPatrol = _myLayer add3DENLayer "Patrols";

Additional Information

See also:
remove3DENLayer set3DENLayer get3DENLayerEntities

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
Leopard20 - c
Posted on Apr 04, 2023 - 17:28 (UTC)
To get the list of all 3DEN layers, use all3DENEntities.