add3DENLayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 97386 by Ffur2007slx2 5 on 2016-09-18T11:43:15Z)
m (template:command argument fix)
Line 11: Line 11:


| parentLayerID '''add3DENLayer''' name |= Syntax
| parentLayerID '''add3DENLayer''' name |= Syntax
|p1= 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. |= PARAMETER1
|p1= 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. |PARAMETER1=
|p2= name: [[String]] - layer display name |= PARAMETER2
|p2= name: [[String]] - layer display name |PARAMETER2=
| [[Number]] - layer ID |= RETURNVALUE
| [[Number]] - layer ID |RETURNVALUE=  


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


Line 25: Line 25:
[[set3DENLayer]]
[[set3DENLayer]]
[[get3DENLayerEntities]]
[[get3DENLayerEntities]]
  |= SEEALSO
  |SEEALSO=  
|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:28, 7 April 2019

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

Notes


Bottom Section