getMissionConfig: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 22: Line 22:
<code>_header = [[missionConfigFile]] >> "Header"; // Old approach</code>
<code>_header = [[missionConfigFile]] >> "Header"; // Old approach</code>


| [[getMissionConfigValue]], [[missionConfigFile]]
|seealso= [[getMissionConfigValue]], [[missionConfigFile]]
}}
}}

Revision as of 23:42, 16 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
ConfigMission Information

Syntax

Syntax:
Syntax needed
Parameters:
attribute: String - attribute name
Return Value:
Return value needed

Examples

Example 1:
_header = getMissionConfig "Header" Returns scenario header config. Replaces the previous approach which would scan only the external Description.ext file, but ignore the value set in the Eden Editor: _header = missionConfigFile >> "Header"; // Old approach

Additional Information

See also:
getMissionConfigValuemissionConfigFile

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