get3DENMissionAttribute: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.52|= Game version ______________...")
 
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set [[Eden_Editor:_Scenario_Atttributes|scenario attributes]]. |= Description
| Return value of [[Eden_Editor:_Scenario_Atttributes|scenario attribute]]. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''set3DENMissionAttributes''' <nowiki>[[<section>,<class1>,<value1>], ..., [<section >,<classN>,<valueN>]]</nowiki> |= Syntax
| section '''get3DENMissionAttribute''' class |= 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
| [[Anything]] |= RETURNVALUE  
| [[Bool]] - [[true]] if the value was set |= RETURNVALUE  


|x1= <code>set3DENMissionAttributes <nowiki>[[</nowiki>"Multiplayer","respawn",3],["Multiplayer","respawnDelay",10]];</code>
|x1= <code>[[systemChat]] [[str]] ("Multiplayer" get3DENMissionAttribute "respawn");</code> |= EXAMPLE1  
Set respawn type to 3 and respawn delay to 10 seconds |= EXAMPLE1  
____________________________________________________________________________________________
____________________________________________________________________________________________


|  
|  
[[get3DENMissionAttribute]]
[[set3DENMissionAttributes]]
  |= SEEALSO  
  |= SEEALSO  
|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 13:48, 12 November 2015

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.52|1.52]]
Hover & click on the images for description

Description

Description:
Return value of scenario attribute.
Groups:
Uncategorised

Syntax

Syntax:
section get3DENMissionAttribute class
Parameters:
section: String - attribute section
class: String - attribute name
Return Value:
Anything

Examples

Example 1:
systemChat str ("Multiplayer" get3DENMissionAttribute "respawn");

Additional Information

See also:
set3DENMissionAttributes

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 | GET3DENMISSIONATTRIBUTE]][[ Category: arma3dev: Scripting Commands | GET3DENMISSIONATTRIBUTE]]

Notes


Bottom Section