add3DENLayer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
|arma3|Game name= | |arma3|Game name= | ||
Line 7: | Line 6: | ||
|gr1= Eden Editor |GROUP1= | |gr1= Eden Editor |GROUP1= | ||
| Add an editing layer in [[Eden Editor]]. |DESCRIPTION= | | Add an editing layer in [[Eden Editor]]. |DESCRIPTION= | ||
| parentLayerID '''add3DENLayer''' name |SYNTAX= | | parentLayerID '''add3DENLayer''' name |SYNTAX= | ||
Line 21: | Line 18: | ||
_myLayerPatrol = _myLayer [[add3DENLayer]] "Patrols"; | _myLayerPatrol = _myLayer [[add3DENLayer]] "Patrols"; | ||
</code>|EXAMPLE1= | </code>|EXAMPLE1= | ||
| | | | ||
Line 29: | Line 25: | ||
|SEEALSO= | |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 23:59, 16 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