add3DENLayer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "$1$2</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*) ([^ ]*) ([^ ]*)<\/code>" to "<code>$1$2$3 $4 $5</code>") |
||
Line 16: | Line 16: | ||
|r1= [[Number]] - Layer ID | |r1= [[Number]] - Layer ID | ||
|x1= <code>_myLayer = -1 | |x1= <code>_myLayer = -1 add3DENLayer "Enemy Base"; | ||
_myLayerFort = _myLayer [[add3DENLayer]] "Fortifications"; | _myLayerFort = _myLayer [[add3DENLayer]] "Fortifications"; | ||
_myLayerPatrol = _myLayer add3DENLayer "Patrols";</code> | _myLayerPatrol = _myLayer add3DENLayer "Patrols";</code> |
Revision as of 11:43, 12 May 2022
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