Config
28 scripting commands. Also as Markdown for agents.
- a / bReturns the quotient of two numbers. If the divisor is 0 a *Division by zero* error is shown but the script does not stop and the result of such…
- campaignConfigFileReturns root of campaign description.ext entries hierarchy.
- config greater greater nameReturns config entry with given name (alias of a / b, slightly faster but with lower precedence)
- configClassesReturns an array of config entries which meet criteria in condition code. Command iterates through all available config sub classes of the given…
- configFileReturn root of config entries hierarchy.
- configHierarchyReturns hierarchy of the given config class. Just like with inheritsFrom, only complete config classes are supported (before Arma 3 v2.14).
- configNameReturns name of config entry.
- configNullA non-existing Config.
- configOfReturns config path of the provided object.
- configPropertiesReturns an array of config entries that meet the criteria in the condition code. The command iterates through available classes and config properties…
- configSourceAddonListReturns an array of addons (CfgPatches) in which the given config class is defined.
- countCan be used to count: - The number of elements in an array (returns the already internally known array size) - The number of elements in an array…
- diag_exportConfigExports given config into file of given path.
- diag_mergeConfigFileUpdates config without restarting. Attributes and classes can not be deleted unless `delete` is used. Changes to the config are applied to all new…
- getArrayExtract array from config entry.
- getMissionConfigReturns Config entry for the given scenario attribute from the 1st tier. The attribute can be config class or config property. If it is defined in…
- getMissionConfigValueReturns value of the given scenario attribute from the 1st tier. Since only config properties have values, the attribute should be config property.…
- getNumberExtract number from config entry.
- getTextExtracts localized text from config entry, if entry is subject to localization, otherwise returns text value. To obtain the translation key itself,…
- getTextRawReturns raw text from config entry. If entry is subject to localization, the translation key is returned. To obtain the localized text, see getText.
- inheritsFromReturns base entry of config entry.
- isArrayCheck if config entry represents array.
- isClassCheck if config entry represents config class.
- isNumberCheck if config entry represents number.
- isTextChecks if config entry represents a text value.
- loadConfigLoads the given file as a Config, allowing easy processing of the config file contents using commands such as configClasses, configProperties, >>,…
- missionConfigFileReturn root of mission Description.ext entries hierarchy.
- selectSelects an element from an array, config entry from Config or substring from a string or a range from an array.