get3DENMissionAttribute: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Improved my older note about class name (section) to be more clear now.)
m (Text replacement - ">Posted on November ([0-9]{1})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-11-0$1")
 
(40 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


|arma3|Game name=
|game1= arma3
|version1= 1.56


|1.56|Game version=
|gr1= Eden Editor


|gr1= Eden Editor |GROUP1=
|descr= Return value of [[Eden_Editor:_Scenario_Atttributes|scenario attribute]]. For a list of all available mission attributes see [[Eden_Editor:_Setting_Attributes#Scenario|Mission Attributes]].
____________________________________________________________________________________________
{{Feature|important|Attributes are available only within the Eden Editor workspace. You cannot access them in scenario preview or exported scenario!}}


| Return value of [[Eden_Editor:_Scenario_Atttributes|scenario attribute]]. For a list of all available mission attributes see [[Eden_Editor:_Setting_Attributes#Scenario|Mission Attributes]].
|s1= section [[get3DENMissionAttribute]] class
{{Important|Attributes are available only within the Eden Editor workspace. You cannot access them in scenario preview or exported scenario!}}
|DESCRIPTION=
____________________________________________________________________________________________


| section '''get3DENMissionAttribute''' class |SYNTAX=
|p1= section: [[String]] - attribute section. See [[Eden_Editor:_Setting_Attributes#Sections_.26_Properties|Sections & Properties]]
|p1= section: [[String]] - attribute section |PARAMETER1=
|p2= class: [[String]] - attribute name
|p2= class: [[String]] - attribute name |PARAMETER2=
|r1= [[Anything]]
| [[Anything]] |RETURNVALUE=


|x1= <code>[[systemChat]] [[str]] ("Multiplayer" [[get3DENMissionAttribute]] "respawn");</code> |EXAMPLE1=
|x1= <sqf>systemChat str ("Multiplayer" get3DENMissionAttribute "respawn");</sqf>
____________________________________________________________________________________________


|  
|seealso=
[[set3DENMissionAttributes]]
[[set3DENMissionAttributes]]
|SEEALSO=
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}


<h3 style='display:none'>Notes</h3>
<dl class="command_description">
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<!-- DISCONTINUE Notes -->


 
<dt></dt>
<h3 style='display:none'>Bottom Section</h3>
<dd class="notedate">Posted on 2016-02-26 - 16:54 (UTC)</dd>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
<dt class="note">[[User:R3vo|R3vo]]</dt>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{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">
<dd class="note">
The class names of the vanilla sections are:
The class names of the vanilla sections are:
Line 57: Line 36:
| Multiplayer || Multiplayer
| Multiplayer || Multiplayer
|-
|-
| Garbage Collection || GarbageCollection
| Performance || GarbageCollection
|-
|-
| Preferences|| Preferences
| Preferences|| Preferences
|}
|}
</dd>
</dd>
</dl>
<!-- DISCONTINUE Notes -->


<!-- CONTINUE Notes -->
<dt><dt>
<dl class="command_description">
<dd class="notedate">Posted on 2020-11-02 - 16:57 (UTC)</dd>
<dd class="notedate">Posted on November 2, 2020 - 16:57 (UTC)</dd>
<dt class="note">[[User:R3vo|R3vo]]</dt>
<dt class="note">[[User:R3vo|R3vo]]</dt>
<dd class="note">
<dd class="note">
It seems that [[Eden_Editor:_Configuring_Attributes#Preferences|Preferences]] can be returned just fine during preview.
It seems that [[Eden_Editor:_Configuring_Attributes#Preferences|Preferences]] can be returned just fine during preview.
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 23:12, 13 May 2023

Hover & click on the images for description

Description

Description:
Return value of scenario attribute. For a list of all available mission attributes see Mission Attributes.
Attributes are available only within the Eden Editor workspace. You cannot access them in scenario preview or exported scenario!
Groups:
Eden Editor

Syntax

Syntax:
section get3DENMissionAttribute class
Parameters:
section: String - attribute section. See Sections & Properties
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
Posted on 2016-02-26 - 16:54 (UTC)
R3vo
The class names of the vanilla sections are:
Display Name Class Name (section)
Environment Intel
Multiplayer Multiplayer
Performance GarbageCollection
Preferences Preferences
Posted on 2020-11-02 - 16:57 (UTC)
R3vo
It seems that Preferences can be returned just fine during preview.