all3DENEntities: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (how to select all entities)
Line 16: Line 16:


|x2= <sqf>all3DENEntities params ["_objects", "_groups", "_triggers", "_systems", "_waypoints", "_markers", "_layers", "_comments"];</sqf>
|x2= <sqf>all3DENEntities params ["_objects", "_groups", "_triggers", "_systems", "_waypoints", "_markers", "_layers", "_comments"];</sqf>
|x2= <sqf>// Select all Eden entities
private _selection = [];
{
    _selection = _selection + _x;
} forEach all3DENEntities;
set3DENSelected _selection;</sqf>


|seealso= [[get3DENMouseOver]] [[delete3DENEntities]] [[get3DENEntityID]] [[get3DENSelected]]
|seealso= [[get3DENMouseOver]] [[delete3DENEntities]] [[get3DENEntityID]] [[get3DENSelected]]
}}
}}

Revision as of 18:33, 23 May 2023

Hover & click on the images for description

Description

Description:
Returns an array of all currently placed Eden Editor entities.
Eden Editor
This information is only available in Eden Editor. If used during mission, it will return [[],[],[],[],[],[],[],[-999]].
Groups:
Eden Editor

Syntax

Syntax:
all3DENEntities
Return Value:
Array in format Array of Eden Entities

Examples

Example 1:
systemChat str all3DENEntities;
Example 2:
// Select all Eden entities private _selection = []; { _selection = _selection + _x; } forEach all3DENEntities; set3DENSelected _selection;

Additional Information

See also:
get3DENMouseOver delete3DENEntities get3DENEntityID get3DENSelected

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