get3DENLayerEntities: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>") |
||
(24 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|arma3| | |game1= arma3 | ||
|version1= 1.56 | |||
| | |gr1= Eden Editor | ||
| | |descr= Return all entities and sub-layer in [[Eden Entity]] layer. In order to get all layer entities during a scenario use [[getMissionLayerEntities]]. | ||
| | |s1= [[get3DENLayerEntities]] layerID | ||
|p1= layerID: [[Number]] - layer ID as returned by [[add3DENLayer]] command | |||
|p1= layerID: [[Number]] - layer ID as returned by [[add3DENLayer]] command | |||
| | |r1= [[Array]] of [[Eden Entity|Eden Entities]] | ||
[[ | |||
| | |x1= <sqf> | ||
[[add3DENLayer]] | _myLayer = -1 add3DENLayer "CTRG"; | ||
[[remove3DENLayer]] | player set3DENLayer _myLayer; | ||
[[set3DENLayer]] | _entities = get3DENLayerEntities _myLayer; | ||
[[getMissionLayerEntities]] | </sqf> | ||
|seealso= [[add3DENLayer]] [[remove3DENLayer]] [[set3DENLayer]] [[getMissionLayerEntities]] [[getMissionLayers]] | |||
}} | }} | ||
Latest revision as of 11:34, 3 September 2024
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