get3DENSelected

From Bohemia Interactive Community
Revision as of 10:12, 14 June 2021 by Lou Montana (talk | contribs) (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
Jump to navigation Jump to search
Hover & click on the images for description

Description

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

Syntax

Syntax:
get3DENSelected type
Parameters:
type: String - Entity type, can be:
  • "object"
  • "group"
  • "trigger"
  • "logic"
  • "waypoint"
  • "marker"
  • "layer"
  • "comment"
  • "" - All types except "layer" and "comment"
Return Value:
Array - Array of given entity type or all types except "layer" and "comment". In case of wrong type [[], [], [], [], [], []] is returned an an error message is shown

Examples

Example 1:
get3DENSelected ""; Template:ccml
Example 2:
get3DENSelected "object"; // Returns [B Alpha 2-1:1]

Additional Information

See also:
all3DENEntities get3DENMouseOver delete3DENEntities

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