add3DENLayer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ") |
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>") |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.56 | |version1= 1.56 | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
|descr= Adds an editing layer in [[Eden Editor]]. | |descr= Adds an editing layer in [[:Category:Eden Editor|Eden Editor]]. | ||
|s1= parentLayerID [[add3DENLayer]] name | |s1= parentLayerID [[add3DENLayer]] name | ||
|p1= parentLayerID : [[Number]] - ID of the parent layer. No layer will be created when the ID does not point to a layer. Use | |p1= parentLayerID : [[Number]] - ID of the parent layer. No layer will be created when the ID does not point to a layer. Use {{hl|-1}} to create the layer to root. | ||
|p2= name: [[String]] - | |p2= name: [[String]] - layer display name | ||
|r1= [[Number]] - | |r1= [[Number]] - layer ID | ||
|x1= < | |x1= <sqf> | ||
_myLayerFort = _myLayer | _myLayer = -1 add3DENLayer "Enemy Base"; | ||
_myLayerPatrol = _myLayer | _myLayerFort = _myLayer add3DENLayer "Fortifications"; | ||
_myLayerPatrol = _myLayer add3DENLayer "Patrols"; | |||
</sqf> | |||
|seealso= [[remove3DENLayer]] [[set3DENLayer]] [[get3DENLayerEntities]] | |seealso= [[remove3DENLayer]] [[set3DENLayer]] [[get3DENLayerEntities]] | ||
}} | |||
{{Note | |||
|user= Leopard20 | |||
|timestamp= 20230404172800 | |||
|text= To get the list of all 3DEN layers, use [[all3DENEntities]]. | |||
}} | }} |
Latest revision as of 21:37, 2 September 2024
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:
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
- Posted on Apr 04, 2023 - 17:28 (UTC)
- To get the list of all 3DEN layers, use all3DENEntities.