Description
Updates config without restarting. Attributes and classes can not be deleted unless delete is used. Changes to the config are applied to all new entities, a mission restart is not necessarily required. Spawning the vehicle again or switching weapons works too. Since Arma 3 v1.70 CfgAmmo should be mergeable as well.
Warning
Merging a config with an include statement, that points to a non existing file, will crash the game.
Syntax
diag_mergeConfigFile [path, userdir]
Parameters:
path: String - absolute or relative pathuserdir: Boolean - (Optional, default false) path is relative to the user directory, otherwise it is relative to the mission directory
Returns: Nothing
Examples
Example 1
diag_mergeConfigFile ["O:\Arma3\A3\Stuff_F\config.cpp"]