From Bohemia Interactive Community
Hover & click on the images for description
⚠
Only available in
Development branch(es) until its release with Arma 3 patch
v2.10.
Description
- Description:
- Loads the given file as a Config. It can load .rvmat, .bisurf, .cpp, .bin, .sqm, and description.ext files (both binarized and unbinarized configs are supported).
⚠
Loading a config can be very slow. The config should only be loaded once and cached. For example, the result can be stored in a
HashMap of
File Path - Config
pairs. (See Example 2)
- Groups:
- Config
Syntax
- Syntax:
- loadConfig path
- Parameters:
- path: String - Path to the file, which should be in a valid config format.
- Return Value:
- Config - Loaded config. Returns configNull if the file doesn't exist.
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- >> configFile configClasses isText isNumber isArray isClass configName getText getNumber getArray
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here!
Add Note