get3DENSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ")
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.56
|version1= 1.56



Revision as of 10:12, 14 June 2021

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