set3DENAttributes

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.56
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.56

Description

Description:
Set entity attributes.

An attribute is identified by its property (data when it's engine-drive attribute) value in config. For the list of all attributes with their properties, see Setting Attributes.
Attributes are available only within the Eden Editor workspace. You cannot access them in scenario preview or exported scenario!

Syntax

Syntax:
set3DENAttributes [[<entities1>,<class1>,<value1>], ..., [<entitiesN>,<classN>,<valueN>]]
Parameters:
entities: Array or Eden Entities
class: String - attribute name
value: Any - new attribute value
Return Value:
Bool - true if the value was set

Examples

Example 1:
set3DENAttributes [[get3DENSelected "Object","ControlMP",true ]]; Set all selected objects as playable

Additional Information

Multiplayer:
-
See also:
get3DENAttribute clear3DENAttribute

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes


Bottom Section