Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

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 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





  • No labels