Arma 3 Scripting

get3DENAttribute

  • Arma 3 v1.56

Command · Markdown · JSON · original wiki page

Description

Returns the value of the given entity's attribute in Eden Editor.

An attribute is identified by its property (data when it is engine-drive attribute) value in config. For the list of all attributes with their properties, see Setting Attributes.

Important

Attributes are available only within the Eden Editor workspace. You cannot access them in scenario preview or exported scenario!

Syntax

entity get3DENAttribute attribute

Parameters:

Returns: Array of Anything

Examples

Example 1

// returns variable name of the object under cursor
systemChat str ((get3DENMouseOver select 1) get3DENAttribute "name");

See also

set3DENAttribute · set3DENAttributes · set3DENMissionAttributes · get3DENMissionAttribute · clear3DENAttribute