CBA_fnc_getConfigEntry

Description

Gets a configuration entry.

Will check if _cfg exists, and will return either the config value, or supplied default value.

Parameters

_configEntryEntry to get value of [Config]
_entryType”text”, “number” or “array” [String]
_defaultValueValue to return if config entry unavailable [Any]

Returns

Value found [String, Number or Array]

Examples

[configFile >> "CfgJellies" >> "Wobbliness", "number", 0] call _f

Author

Sickboy (sb_at_dev-heaven.net)

Close