get3DENMissionAttribute: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
(added link to Sections & Properties)
Line 11: Line 11:
|s1= section [[get3DENMissionAttribute]] class
|s1= section [[get3DENMissionAttribute]] class


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

Revision as of 12:58, 2 January 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 February 26, 2016 - 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 November 2, 2020 - 16:57 (UTC)
R3vo
It seems that Preferences can be returned just fine during preview.