set3DENMissionAttributes: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Set [[Eden_Editor:_Scenario_Atttributes|scenario attributes]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | '''set3DENMissionAttributes''' <nowiki>[[<section>,<class1>,<value1>], ..., [<section >,<classN>,<valueN>]]</nowiki> |= Syntax | ||
|p1= section: [[String]] - attribute section |= PARAMETER1 | |p1= section: [[String]] - attribute section |= PARAMETER1 | ||
|p2= class: [[String]] - attribute name |= PARAMETER2 | |p2= class: [[String]] - attribute name |= PARAMETER2 | ||
| [[ | |p3= value: [[Any]] - new attribute value |= PARAMETER3 | ||
| [[Bool]] - [[true]] if the value was set |= RETURNVALUE | |||
|x1= <code>[[ | |x1= <code>set3DENMissionAttributes <nowiki>[[</nowiki>"Multiplayer","respawn",3],["Multiplayer","respawnDelay",10]];</code> | ||
Set respawn type to 3 and respawn delay to 10 seconds |= EXAMPLE1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | | ||
[[ | [[get3DENMissionAttribute]] | ||
|= SEEALSO | |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 13:48, 12 November 2015
Description
- Description:
- Set scenario attributes.
- Groups:
- Uncategorised
Syntax
- Syntax:
- set3DENMissionAttributes [[<section>,<class1>,<value1>], ..., [<section >,<classN>,<valueN>]]
- Parameters:
- section: String - attribute section
- class: String - attribute name
- value: Any - new attribute value
- Return Value:
- Bool - true if the value was set
Examples
- Example 1:
set3DENMissionAttributes [["Multiplayer","respawn",3],["Multiplayer","respawnDelay",10]];
Set respawn type to 3 and respawn delay to 10 seconds
Additional Information
- See also:
- get3DENMissionAttribute
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 | SET3DENMISSIONATTRIBUTES]][[ Category: arma3dev: Scripting Commands | SET3DENMISSIONATTRIBUTES]]
Notes