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:
entitiesN: Array of Eden Entity or Eden IDclassN: String - attribute namevalueN: Anything - new attribute value
Returns: Boolean - true if the value was set
Examples
Example 1
// Set all selected objects as playable
set3DENAttributes [[get3DENSelected "Object", "ControlMP", true]];