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 ______________...")
 
m (template:command argument fix)
(11 intermediate revisions by 5 users not shown)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3dev |= Game name
|arma3|= Game name


|1.52|= Game version
|1.56|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set [[Eden_Editor:_Scenario_Atttributes|scenario attributes]]. |= Description
| Return value of [[Eden_Editor:_Scenario_Atttributes|scenario attribute]].
{{Important|Attributes are available only within the Eden Editor workspace. You cannot access them in scenario preview or exported scenario!}}
|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=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}
Line 40: Line 40:
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Eden Editor|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Eden Editor|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on February 26, 2016 - 16:54 (UTC)</dd>
<dt class="note">[[User:Revo|Revo]]</dt>
<dd class="note">
The class names of the vanilla sections are:
;General
: Scenario
;Environment
: Intel
;Multiplayer
: Multiplayer
; Garbage Collection
:GarbageCollection
; Preferences
:Preferences
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 15:39, 7 April 2019

Hover & click on the images for description

Description

Description:
Return value of scenario attribute.
Attributes are available only within the Eden Editor workspace. You cannot access them in scenario preview or exported scenario!
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

Notes


Bottom Section

Posted on February 26, 2016 - 16:54 (UTC)
Revo
The class names of the vanilla sections are:
General
Scenario
Environment
Intel
Multiplayer
Multiplayer
Garbage Collection
GarbageCollection
Preferences
Preferences