diag exportConfig: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2") |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|game1= | |game1= arma3 | ||
|version1= 2. | |version1= 2.02 | ||
|branch= diag | |||
|gr1= Diagnostic | |gr1= Diagnostic | ||
|gr2= Config | |gr2= Config | ||
|descr= Exports given [[Config|config]] into file of given path. | |descr= Exports given [[Config|config]] into file of given path. | ||
Line 14: | Line 14: | ||
|s1= [[diag_exportConfig]] [path, config] | |s1= [[diag_exportConfig]] [path, config] | ||
|p1= path: [[String]] - | |p1= path: [[String]] - file path on disc | ||
|p2= config: [[Config]] - | |p2= config: [[Config]] - the config you would like to export | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= | |x1= export an [[Arma: All-in-one Config|All-in-One config]]: | ||
<sqf>diag_exportConfig ["O:/config.cpp", configFile];</sqf> | |||
|seealso= [[configFile]] | |seealso= [[configFile]] | ||
}} | }} |
Latest revision as of 15:50, 8 November 2023
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:
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