diag exportConfig: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(page creation)
 
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:diag_exportConfig}}
{{RV|type=command
{{Command|Comments=


| arma3Diag |Game name=
|game1= arma3
|version1= 2.02


|2.01|Game version=
|branch= diag


|gr1= Diagnosis |GROUP1=
|gr1= Diagnostic


|gr2= Config |GROUP2=
|gr2= Config


| Exports given [[Config|config]] into file of given path. |DESCRIPTION=
|descr= Exports given [[Config|config]] into file of given path.


| [[diag_exportConfig]] [path, config] |SYNTAX=
|s1= [[diag_exportConfig]] [path, config]


|p1= path: [[String]] - File path on disc |PARAMETER1=
|p1= path: [[String]] - file path on disc


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


| [[Nothing]] |RETURNVALUE=
|r1= [[Nothing]]
____________________________________________________________________________________________
 
|x1= <code>[[diag_exportConfig]] ["O:/config.cpp", [[configFile]]];</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[configFile]] |SEEALSO=
|x1= export an [[Arma: All-in-one Config|All-in-One config]]:
<sqf>diag_exportConfig ["O:/config.cpp", configFile];</sqf>
 
|seealso= [[configFile]]
}}
}}

Latest revision as of 16: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