Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

test edit


Introduced in

Version:1.18

Description

Description:Merges the given configuration file with the main configuration.

Syntax

Syntax:mergeConfigFile [configfile, userdir]
Parameters:
  • configfile: String - File name.
  • userDir: Boolean - If true, the location is relative to the user profile directory (typically, in Documents). If false, the location is given relative to the VBS install directory (where the exe is located) file is loaded from the current mission directory (default: true).
  • absoluteDir: Boolean - If true, the file location is given as an absolute path (for example, C:\config.cpp). If the passed file name contains a drive letter (ex: C:\), it is treated as an absolute path regardless of the values for userDir and absoliteDir.
Return Value:Nothing

Examples

Examples:
mergeConfigFile ["myconfig", false]

Additional Information

See also: newConfig, addClass, addValue, deleteClass, openClass, saveConfig, loadConfig, listConfigNames
Multiplayer:
Problems:

Notes