diag exportConfig: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
Line 20: Line 20:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[diag_exportConfig]] ["O:/config.cpp", [[configFile]]];</code>
|x1= <code>[[diag_exportConfig]] ["O:/config.cpp", [[configFile]]]; {{cc|exports an [[Arma: All-in-one Config|All-in-One config]]}}</code>


|seealso= [[configFile]]
|seealso= [[configFile]]
}}
}}

Revision as of 14:39, 23 November 2021

Hover & click on the images for description
Only available in Diagnostic branch(es).

Description

Description:
Exports given config into file of given path.
Groups:
DiagnosticConfig

Syntax

Syntax:
diag_exportConfig [path, config]
Parameters:
path: String - File path on disc
config: Config - The config you would like to export
Return Value:
Nothing

Examples

Example 1:
diag_exportConfig ["O:/config.cpp", configFile]; // exports an All-in-One config

Additional Information

See also:
configFile

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