{"name":"get3DENLayerEntities","operator":null,"title":"get3DENLayerEntities","type":"command","url":"https://community.bistudio.com/wiki/get3DENLayerEntities","revid":369163,"updated":"2024-09-03T10:34:40Z","groups":["Eden Editor"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.56"}],"since":{"game":"arma3","name":"Arma 3","version":"1.56"},"arma3_since":"1.56","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Return all entities and sub-layer in Eden Entity layer. In order to get all layer entities during a scenario use getMissionLayerEntities.","syntaxes":[{"syntax":"get3DENLayerEntities layerID","since":null,"effect":null,"exec":null,"params":[{"name":"layerID","type":"Number","optional":false,"default":null,"description":"layer ID as returned by add3DENLayer command","types":["Number"],"since":null,"text":"layerID: Number - layer ID as returned by add3DENLayer command"}],"returns":{"type":"Array of Eden Entities","types":["Array","Eden Entity"],"description":null,"text":"Array of Eden Entities"},"form":"unary","operator":null,"left":null,"right":{"text":"layerID","types":["Number"]}}],"examples":[{"text":"```sqf\n_myLayer = -1 add3DENLayer \"CTRG\";\nplayer set3DENLayer _myLayer;\n_entities = get3DENLayerEntities _myLayer;\n```","code":["_myLayer = -1 add3DENLayer \"CTRG\";\nplayer set3DENLayer _myLayer;\n_entities = get3DENLayerEntities _myLayer;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["add3DENLayer","remove3DENLayer","set3DENLayer","getMissionLayerEntities","getMissionLayers"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Eden Editor","Introduced with Arma 3 version 1.56","Scripting Commands"]}