{"name":"set3DENAttribute","title":"set3DENAttribute","type":"command","url":"https://community.bistudio.com/wiki/set3DENAttribute","revid":348910,"updated":"2023-11-08T14:40:02Z","groups":["Eden Editor"],"status":"ok","games":{"arma3":"1.56"},"since":"arma3 1.56","arma3_since":"1.56","description":"Sets one of entity attributes. For the list of all attributes with their properties see Setting Attributes.\n\n> [!IMPORTANT]\n> Attributes are available only within the Eden Editor workspace. You cannot access them in scenario preview or exported scenario!","syntaxes":[{"syntax":"entity set3DENAttribute [class, value]","params":[{"name":"entity","type":"Eden Entity or Eden ID","type_expr":"Eden Entity | Eden ID"},{"name":"class","type":"String","description":"attribute name","type_expr":"String"},{"name":"value","type":"Anything","description":"new attribute value","type_expr":"Anything"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true If the value was set"},"form":"binary","left":{"text":"entity"},"right":{"text":"[class, value]"}}],"examples":[{"code":["player set3DENAttribute [\"allowDamage\", false]; // Mark player as invincible"]}],"see_also":["set3DENAttributes","get3DENAttribute"]}