get3DENLayerEntities: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
||
Line 15: | Line 15: | ||
|x1= <code>_myLayer = -1 add3DENLayer "CTRG"; | |x1= <code>_myLayer = -1 add3DENLayer "CTRG"; | ||
player | player set3DENLayer _myLayer; | ||
_entities = get3DENLayerEntities _myLayer;</code> | _entities = get3DENLayerEntities _myLayer;</code> | ||
|seealso= [[add3DENLayer]] [[remove3DENLayer]] [[set3DENLayer]] [[getMissionLayerEntities]] [[getMissionLayers]] | |seealso= [[add3DENLayer]] [[remove3DENLayer]] [[set3DENLayer]] [[getMissionLayerEntities]] [[getMissionLayers]] | ||
}} | }} |
Revision as of 13:01, 12 May 2022
Description
- Description:
- Return all entities and sub-layer in Eden Entity layer. In order to get all layer entities during a scenario use getMissionLayerEntities.
- 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
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