get3DENLayerEntities: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
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"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


|arma3|Game name=
|arma3


|1.56|Game version=
|1.56


|gr1= Eden Editor |GROUP1=
|gr1= Eden Editor


| Return all entities and sub-layer in [[Eden Entity]] layer. |DESCRIPTION=
| Return all entities and sub-layer in [[Eden Entity]] layer.


| '''get3DENLayerEntities''' layerID |SYNTAX=
| '''get3DENLayerEntities''' layerID
|p1= layerID: [[Number]] - layer ID as returned by [[add3DENLayer]] command |PARAMETER1=
|p1= layerID: [[Number]] - layer ID as returned by [[add3DENLayer]] command
| [[Array]] of [[Eden Entity|Eden Entities]] |RETURNVALUE=
| [[Array]] of [[Eden Entity|Eden Entities]]


|x1= <code>_myLayer = -1 [[add3DENLayer]] "CTRG";
|x1= <code>_myLayer = -1 [[add3DENLayer]] "CTRG";
[[player]] [[set3DENLayer]] _myLayer;
[[player]] [[set3DENLayer]] _myLayer;
_entities = [[get3DENLayerEntities]] _myLayer;
_entities = [[get3DENLayerEntities]] _myLayer;
</code>|EXAMPLE1=
</code>


|
|
Line 23: Line 23:
[[set3DENLayer]]
[[set3DENLayer]]
[[getMissionLayerEntities]]
[[getMissionLayerEntities]]
|SEEALSO=
 
|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
}}
}}

Revision as of 00:36, 18 January 2021

Hover & click on the images for description

Description

Description:
Return all entities and sub-layer in Eden Entity layer.
Groups:
Eden Editor

Syntax

Syntax:
get3DENLayerEntities layerID
Parameters:
layerID: Number - layer ID as returned by add3DENLayer command
Return Value:
Array of Eden Entities

Examples

Example 1:
_myLayer = -1 add3DENLayer "CTRG"; player set3DENLayer _myLayer; _entities = get3DENLayerEntities _myLayer;

Additional Information

See also:
add3DENLayer remove3DENLayer set3DENLayer getMissionLayerEntities

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


Bottom Section