Arma 3 Scripting

set3DENAttributes

  • Arma 3 v1.56

Command · Markdown · JSON · original wiki page

Description

Set entity attributes. 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 and cannot be accessed in scenario preview or exported scenario!

Syntax

set3DENAttributes [[entities1, class1, value1], [entities2, class2, value2], ...]

Parameters:

Returns: Boolean - true if the value was set

Examples

Example 1

// Set all selected objects as playable
set3DENAttributes [[get3DENSelected "Object", "ControlMP", true]];

See also

get3DENAttribute · clear3DENAttribute