add3DENLayer: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Add an editing layer in [[Eden Editor]]. |= | | Add an editing layer in [[Eden Editor]]. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| parentLayerID '''add3DENLayer''' name |= | | 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= |
Revision as of 11:24, 7 April 2019
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