set3DENMissionAttribute: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ") |
||
Line 12: | Line 12: | ||
{{Feature|important|Attributes are available only within the Eden Editor workspace. You cannot access them in scenario preview or exported scenario!}} | {{Feature|important|Attributes are available only within the Eden Editor workspace. You cannot access them in scenario preview or exported scenario!}} | ||
|s1= <nowiki><section></nowiki> | |s1= <nowiki><section></nowiki> [[set3DENMissionAttribute]] <nowiki>[<class>,<value>]</nowiki> | ||
|p1= section: [[String]] - attribute section | |p1= section: [[String]] - attribute section |
Revision as of 18:10, 20 June 2021
Description
- Description:
- Set scenario attribute.
An attribute is identified by its property (data when it is engine-drive attribute) value in config. For the list of all attributes with their properties, see Setting Attributes. - Groups:
- Eden Editor
Syntax
- Syntax:
- <section> set3DENMissionAttribute [<class>,<value>]
- Parameters:
- section: String - attribute section
- class: String - attribute name
- value: Anything - new attribute value
- Return Value:
- Boolean - true if the value was set
Examples
- Example 1:
"Multiplayer" set3DENMissionAttribute ["respawn",3];
Set respawn type to 3
Additional Information
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