diag exportConfig: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma3Diag | | arma3Diag | ||
|2.01 | |2.01 | ||
|gr1= Diagnosis | |gr1= Diagnosis | ||
|gr2= Config | |gr2= Config | ||
| Exports given [[Config|config]] into file of given path. | | Exports given [[Config|config]] into file of given path. | ||
| [[diag_exportConfig]] [path, config] | | [[diag_exportConfig]] [path, config] | ||
|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 | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[diag_exportConfig]] ["O:/config.cpp", [[configFile]]];</code> | |x1= <code>[[diag_exportConfig]] ["O:/config.cpp", [[configFile]]];</code> | ||
| [[configFile]] | | [[configFile]] | ||
}} | }} |
Revision as of 00:29, 18 January 2021
Description
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]]