add3DENLayer: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "") |
m (formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|arma3 | |game1= arma3 | ||
|1.56 | |version1= 1.56 | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
| | |descr= Adds an editing layer in [[Eden Editor]]. | ||
| parentLayerID '''add3DENLayer''' name | |s1= parentLayerID '''add3DENLayer''' name | ||
|p1= parentLayerID : [[Number]] - ID of the parent layer | |||
|p2= name: [[String]] - | |p1= parentLayerID : [[Number]] - ID of the parent layer. No layer will be created when the ID does not point to a layer. Use <tt>-1</tt> to create the layer to root. | ||
| [[Number]] - | |||
|p2= name: [[String]] - Layer display name | |||
|r1= [[Number]] - Layer ID | |||
|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> | ||
</code> | |||
| | |seealso= [[remove3DENLayer]] [[set3DENLayer]] [[get3DENLayerEntities]] | ||
[[remove3DENLayer]] | |||
[[set3DENLayer]] | |||
[[get3DENLayerEntities]] | |||
}} | }} |
Revision as of 08:45, 18 May 2021
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