diag exportConfig: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "arma3Diag" to "arma3diag")
m (Add branch usage)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3diag
|game1= arma3diag


|2.01
|version1= 2.01


|gr1= Diagnostic
|gr1= Diagnostic
Line 9: Line 9:
|gr2= Config
|gr2= Config


| Exports given [[Config|config]] into file of given path.
|branch= diagnostic


| [[diag_exportConfig]] [path, config]
|descr= Exports given [[Config|config]] into file of given path.
 
|s1= [[diag_exportConfig]] [path, config]


|p1= path: [[String]] - File path on disc
|p1= path: [[String]] - File path on disc
Line 17: Line 19:
|p2= config: [[Config]] - The config you would like to export
|p2= config: [[Config]] - The config you would like to export


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

Revision as of 20:10, 28 February 2021

-wrong parameter ("arma3diag") defined!-[[:Category:Introduced with arma3diag version 2.01|2.01]]
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];

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

[[Category:Introduced with arma3diag version 2.01]][[ Category: arma3diag: New Scripting Commands | DIAG EXPORTCONFIG]][[ Category: arma3diag: Scripting Commands | DIAG EXPORTCONFIG]]