set3DENAttribute: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\{\{cc\|([^ ]*)\}\}([^ ]*)<\/code>" to "<code>$1// $2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
Line 19: | Line 19: | ||
|r1= [[Boolean]] - [[true]] If the value was set | |r1= [[Boolean]] - [[true]] If the value was set | ||
|x1= < | |x1= <sqf>player set3DENAttribute ["allowDamage", false]; // Mark player as invincible</sqf> | ||
|seealso= [[set3DENAttributes]] [[get3DENAttribute]] | |seealso= [[set3DENAttributes]] [[get3DENAttribute]] | ||
}} | }} |
Revision as of 10:24, 13 May 2022
Description
- Description:
- Sets one of entity attributes. For the list of all attributes with their properties see Setting Attributes.
- Groups:
- Eden Editor
Syntax
- Syntax:
- entity set3DENAttribute [class, value]
- Parameters:
- entity: Eden Entity or Eden ID
- class: String - Attribute name
- value: Anything - New attribute value
- Return Value:
- Boolean - true If the value was set
Examples
- Example 1:
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