set3DENAttribute

From Bohemia Interactive Community
Revision as of 14:13, 12 November 2015 by Str (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.52|= Game version ______________...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.52|1.52]]
Hover & click on the images for description

Description

Description:
Set one of entity attributes.
Groups:
Uncategorised

Syntax

Syntax:
entity set3DENAttribute [class, value]
Parameters:
entity: Eden Entity
class: String - attribute name
value: Any - new attribute value
Return Value:
Bool - true if the value was set

Examples

Example 1:
player set3DENAttribute ["allowDamage",false]; Mark player as invincible

Additional Information

See also:
set3DENAttributes get3DENAttribute

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

[[Category:Introduced with arma3dev version 1.52]][[ Category: arma3dev: New Scripting Commands | SET3DENATTRIBUTE]][[ Category: arma3dev: Scripting Commands | SET3DENATTRIBUTE]]

Notes


Bottom Section