diag mergeConfigFile: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Adjust configs on-the-fly without the need of restarting the game (by merging the given config file into the main config in memory). Location is relative to the Userdir (default) or mission directory depending on the the value of UserDir [FileName,UserDir]. |= Description
| Adjust configs on-the-fly without the need of restarting the game (by merging the given config file into the main config in memory). Location is relative to the Userdir (default) or mission directory depending on the the value of UserDir [FileName,UserDir].  
Doesn't work with cfgAmmo & few other classes. Merging config file means also that you can't delete parameters through diag_mergeConfigFile. Changes applied by diag_mergeConfigFile are applied to all new entities so restart of mission is not necessarily  required - spawning vehicle again or changing back forth weapon should usually do the trick.
|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 22:38, 17 February 2017


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

Description

Description:
Adjust configs on-the-fly without the need of restarting the game (by merging the given config file into the main config in memory). Location is relative to the Userdir (default) or mission directory depending on the the value of UserDir [FileName,UserDir]. Doesn't work with cfgAmmo & few other classes. Merging config file means also that you can't delete parameters through diag_mergeConfigFile. Changes applied by diag_mergeConfigFile are applied to all new entities so restart of mission is not necessarily required - spawning vehicle again or changing back forth weapon should usually do the trick.
Groups:
Uncategorised

Syntax

Syntax:
diag_mergeConfigFile ["PathToConfigOnDrive"]
Parameters:
name: Array - [FileName,UserDir]
Return Value:
Nothing

Examples

Example 1:
diag_mergeConfigFile ["O:\Arma3\A3\Stuff_F\config.cpp"]

Additional Information

See also:
See also needed

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 arma3dev version 1.63]][[ Category: arma3dev: New Scripting Commands | DIAG MERGECONFIGFILE]][[ Category: arma3dev: Scripting Commands | DIAG MERGECONFIGFILE]]

Notes

Bottom Section