add3DENLayer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
|arma3 | |arma3 | ||
|1.56 | |1.56 | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
| Add an editing layer in [[Eden Editor]]. | | Add an editing layer in [[Eden Editor]]. | ||
| parentLayerID '''add3DENLayer''' name | | parentLayerID '''add3DENLayer''' name | ||
|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. | |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. | ||
|p2= name: [[String]] - layer display name | |p2= name: [[String]] - layer display name | ||
| [[Number]] - layer ID | | [[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> | ||
| | | | ||
Line 23: | Line 23: | ||
[[set3DENLayer]] | [[set3DENLayer]] | ||
[[get3DENLayerEntities]] | [[get3DENLayerEntities]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} |
Revision as of 00:02, 18 January 2021
Description
- Description:
- Add an editing layer in Eden Editor.
- Groups:
- Eden Editor
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