diag exportConfig: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{DISPLAYTITLE:diag_exportConfig}}
{{DISPLAYTITLE:diag_exportConfig}}
{{Command|Comments=
{{Command


| arma3Diag |Game name=
| arma3Diag


|2.01|Game version=
|2.01


|gr1= Diagnosis |GROUP1=
|gr1= Diagnosis


|gr2= Config |GROUP2=
|gr2= Config


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


| [[diag_exportConfig]] [path, config] |SYNTAX=
| [[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=
| [[Nothing]]
   
   
|x1= <code>[[diag_exportConfig]] ["O:/config.cpp", [[configFile]]];</code> |EXAMPLE1=
|x1= <code>[[diag_exportConfig]] ["O:/config.cpp", [[configFile]]];</code>


| [[configFile]] |SEEALSO=
| [[configFile]]
}}
}}

Revision as of 01:29, 18 January 2021


-wrong parameter ("arma3Diag") defined!-[[:Category:Introduced with arma3Diag version 2.01|2.01]]
Hover & click on the images for description

Description

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

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]]