Arma 3 Scripting

set3DENAttribute

  • Arma 3 v1.56

Command · Markdown · JSON · 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