Arma 3 Scripting

Command in Eden Editor

set3DENAttribute

Also available as Markdown and JSON, or read the original wiki page.

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:

Returns: Boolean - true If the value was set

Examples

Example 1

player set3DENAttribute ["allowDamage", false]; // Mark player as invincible

See also

set3DENAttributes · get3DENAttribute