diag exportConfig: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *F([a-z ])" to "$1 - f$2")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
Line 16: Line 16:
|p1= path: [[String]] - file path on disc
|p1= path: [[String]] - file path on disc


|p2= config: [[Config]] - The config you would like to export
|p2= config: [[Config]] - the config you would like to export


|r1= [[Nothing]]
|r1= [[Nothing]]

Latest revision as of 15:50, 8 November 2023

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:
export an All-in-One config:
diag_exportConfig ["O:/config.cpp", configFile];

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