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”STRING”, “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 CBA_fnc_getConfigEntry

Author

Sickboy (sb_at_dev-heaven.net)

string used by format
Close