Arma 3 Scripting

diag_mergeConfigFile

  • diag branch
  • Arma 3 v1.00

Command · also in Config · Markdown · JSON · 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