Arma 3 Scripting

Command in Eden Editor

get3DENSelected

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns an array of all selected Eden Editor Entities of the given type.

If a wrong type is provided, [[], [], [], [], [], []] is returned and an error message is shown.

Syntax

get3DENSelected type

Parameters:

Returns: Array of Eden Entity

Examples

Example 1

get3DENSelected "";

/*
[
    [B Alpha 2-1:1],                // objects
    [B Alpha 2-1],                    // groups
    [164494: <no shape>],            // triggers
    [<No center> Charlie 1-2:4],    // logic
    [[B Alpha 2-1,0]],                // waypoints
    ["Hotel_Whiskey"]                // markers
]
*/

Example 2

get3DENSelected "object"; // [B Alpha 2-1:1]

See also

all3DENEntities · get3DENMouseOver · delete3DENEntities