Arma 3 Scripting

Command in Diagnostic, Config

diag_mergeConfigFile

Also available as Markdown and JSON, or read the original wiki page.

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:

Returns: Nothing

Examples

Example 1

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

See also

Arma 3: Diagnostics Exe