{"name":"set3DENMissionAttribute","operator":null,"title":"set3DENMissionAttribute","type":"command","url":"https://community.bistudio.com/wiki/set3DENMissionAttribute","revid":351680,"updated":"2023-12-20T14:55:30Z","groups":["Eden Editor"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.56"}],"since":{"game":"arma3","name":"Arma 3","version":"1.56"},"arma3_since":"1.56","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Set scenario attribute.\nAn 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.\n\n> [!IMPORTANT]\n> Attributes are available only within the Eden Editor workspace. They cannot be accessed in scenario preview or exported scenario!\n\n> [!IMPORTANT]\n> Changing the value of an attribute will also execute the expression defined in its config.","syntaxes":[{"syntax":"section set3DENMissionAttribute [class, value]","since":null,"effect":null,"exec":null,"params":[{"name":"section","type":"String","optional":false,"default":null,"description":"attribute section. See Sections & Properties","types":["String"],"since":null,"text":"section: String - attribute section. See Sections & Properties"},{"name":"class","type":"String","optional":false,"default":null,"description":"attribute name","types":["String"],"since":null,"text":"class: String - attribute name"},{"name":"value","type":"Anything","optional":false,"default":null,"description":"new attribute value","types":["Anything"],"since":null,"text":"value: Anything - new attribute value"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"section","types":["String"]},"right":{"text":"[class, value]","types":["Array"]}}],"examples":[{"text":"```sqf\n\"Multiplayer\" set3DENMissionAttribute [\"respawn\", 3]; // Set respawn type to 3\n```","code":["\"Multiplayer\" set3DENMissionAttribute [\"respawn\", 3]; // Set respawn type to 3"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["get3DENMissionAttribute","set3DENMissionAttributes"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Eden Editor","Introduced with Arma 3 version 1.56","Scripting Commands"]}