---
name: "set3DENMissionAttributes"
type: command
status: ok
groups: ["Eden Editor"]
arma3_since: "1.56"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/set3DENMissionAttributes
revid: 364856
updated: 2024-06-25T09:27:10Z
---

# set3DENMissionAttributes

*Command · Eden Editor · Arma 3 v1.56*

## Description

Set scenario attributes.
An attribute is identified by its `property` (`data` when it is an engine-driven attribute) value in config.
For the list of all attributes with their properties, see Mission Attributes.

> [!IMPORTANT]
> Attributes are available only within the Eden Editor workspace. You cannot access them in scenario preview or exported scenario!

## Syntax

```sqf
set3DENMissionAttributes [[section1, class1, value1], ...]
```

**Parameters:**

- `sectionN`: [String](../topics/String.md) - attribute section. See Sections & Properties
- `classN`: [String](../topics/String.md) - attribute name
- `valueN`: [Anything](../topics/Anything.md) - new attribute value

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
// set respawn type to 3 and respawn delay to 10 seconds
set3DENMissionAttributes [["Multiplayer", "respawn", 3], ["Multiplayer", "respawnDelay", 10]];
```

## See also

[get3DENMissionAttribute](../commands/get3DENMissionAttribute.md) · [set3DENMissionAttribute](../commands/set3DENMissionAttribute.md)

## Community notes

**R3vo** — 2019-01-02

Usually, the attributes value can be received by 

```sqf
_sectionName get3DENMissionAttribute _attributeName; // See example above
```

However, if the attribute was not changed and it is default value is used [get3DENMissionAttribute](../commands/get3DENMissionAttribute.md) might return [Nothing](../topics/Nothing.md), even though in Eden Editor the attribute has got a value. In that case the attribute's config name is not identical to the 'property' or 'data' config value. To get the right values in these cases one has to do:

```sqf
_sectionName get3DENMissionAttribute _propertyName;
// or
_sectionName get3DENMissionAttribute _dataName;
```

<sub>Source: [BI Community Wiki — set3DENMissionAttributes](https://community.bistudio.com/wiki/set3DENMissionAttributes) (revision 364856).</sub>
