getMissionLayerEntities: Difference between revisions
Jump to navigation
Jump to search
m (typo) |
mNo edit summary |
||
Line 45: | Line 45: | ||
<dt class="note">[[User:Revo|Revo]]</dt> | <dt class="note">[[User:Revo|Revo]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
'''getMissionLayerEntities''' will return <NULL-object> | After an [[object]] was deleted from a layer, '''getMissionLayerEntities''' will return <NULL-object> for the deleted [[object]]. | ||
<br> | <br> | ||
<br> | <br> |
Revision as of 16:30, 26 October 2016
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