Description
Sets one of entity attributes. 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 set3DENAttribute [class, value]
Parameters:
entity: Eden Entity or Eden IDclass: String - attribute namevalue: Anything - new attribute value
Returns: Boolean - true If the value was set
Examples
Example 1
player set3DENAttribute ["allowDamage", false]; // Mark player as invincible