getMissionLayerEntities: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ |arma3|= Game name |1.56|= Game version ___________________...")
 
No edit summary
Line 39: Line 39:
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Eden Editor|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Eden Editor|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on October 26, 2016 - 15:27 (UTC)</dd>
<dt class="note">[[User:Revo|Revo]]</dt>
<dd class="note">
'''getMissioNLayerEntities''' will return <NULL-object> after the objects in the layer were deleted.
<br>
<br>
Version: 1.65<br>
Build: 139010<br>
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 16:27, 26 October 2016

Hover & click on the images for description

Description

Description:
Returns all entities within specific Eden Editor layer. To be used when the scenario is running, not in the editor workspace. Useful for disabling / enabling whole parts of the scenario which you add to specific layer while editing.
Groups:
Uncategorised

Syntax

Syntax:
getMissionLayerEntities layerName
Parameters:
layerName: String - layer name in the editor. If multiple layers with the same name are present in the scenario, the first found one is used.
Return Value:
Array in format [objects:Array, markers:Array]

Examples

Example 1:
_base = getMissionLayerEntities "Base";

Additional Information

See also:
get3DENLayerEntities

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

Posted on October 26, 2016 - 15:27 (UTC)
Revo
getMissioNLayerEntities will return <NULL-object> after the objects in the layer were deleted.

Version: 1.65
Build: 139010