add3DENLayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.52|= Game version ______________...")
 
mNo edit summary
Line 15: Line 15:
| [[Number]] - layer ID |= RETURNVALUE  
| [[Number]] - layer ID |= RETURNVALUE  


|x1= <code>myLayer = -1 add3DENLayer "Enemy Base";</code>|= EXAMPLE1  
|x1= <code>_myLayer = -1 add3DENLayer "Enemy Base";
_myLayerFort = _myLayer add3DENLayer "Fortifications";
_myLayerPatrol = _myLayer add3DENLayer "Patrols";
</code>|= EXAMPLE1  
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 17:21, 4 November 2015

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.52|1.52]]
Hover & click on the images for description

Description

Description:
Add an editing layer in Eden Editor.
Groups:
Uncategorised

Syntax

Syntax:
parentLayerID add3DENLayer name
Parameters:
parentLayerID : Number - ID of the parent layer. Use -1 to create the layer to root. No layer will be created when the ID doesn't point to a layer.
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

[[Category:Introduced with arma3dev version 1.52]][[ Category: arma3dev: New Scripting Commands | ADD3DENLAYER]][[ Category: arma3dev: Scripting Commands | ADD3DENLAYER]]

Notes


Bottom Section