get3DENLayerEntities: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (format)
m (template:command argument fix)
Line 11: Line 11:


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


|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>|EXAMPLE1=  
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 24: Line 24:
[[remove3DENLayer]]
[[remove3DENLayer]]
[[set3DENLayer]]
[[set3DENLayer]]
  |= SEEALSO
  |SEEALSO=  
|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:31, 7 April 2019

Hover & click on the images for description

Description

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

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

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