get3DENMissionAttribute: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 15: Line 15:
|r1= [[Anything]]
|r1= [[Anything]]


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


|seealso=  
|seealso=  

Revision as of 12:03, 12 May 2022

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
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.