getMissionConfig: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=") |
Lou Montana (talk | contribs) m (Text replacement - "\|" to "|") |
||
Line 16: | Line 16: | ||
| '''getMissionConfig''' attribute | | '''getMissionConfig''' attribute | ||
|p1= attribute: [[String]] - attribute name | |p1= attribute: [[String]] - attribute name | ||
|r1= [[Config]] | |||
|x1= <code>_header = [[getMissionConfig]] "Header"</code> | |||
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: | 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: | ||
<code>_header = [[missionConfigFile]] >> "Header"; // Old approach</code> | <code>_header = [[missionConfigFile]] >> "Header"; // Old approach</code> |
Revision as of 10:30, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- ConfigMission Information
Syntax
- Syntax:
- Syntax needed
- Parameters:
- attribute: String - attribute name
- Return Value:
- Config
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