get3DENLayerEntities: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
|arma3 | |arma3 | ||
|1.56 | |1.56 | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
| Return all entities and sub-layer in [[Eden Entity]] layer. | | Return all entities and sub-layer in [[Eden Entity]] layer. | ||
| '''get3DENLayerEntities''' layerID | | '''get3DENLayerEntities''' layerID | ||
|p1= layerID: [[Number]] - layer ID as returned by [[add3DENLayer]] command | |p1= layerID: [[Number]] - layer ID as returned by [[add3DENLayer]] command | ||
| [[Array]] of [[Eden Entity|Eden Entities]] | | [[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> | </code> | ||
| | | | ||
Line 23: | Line 23: | ||
[[set3DENLayer]] | [[set3DENLayer]] | ||
[[getMissionLayerEntities]] | [[getMissionLayerEntities]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} |
Revision as of 00:36, 18 January 2021
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
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