Description
Smart-return number, text or array value from config.
- Default syntax works for any config.
- Alternative syntax is for working comfortably with Description.ext.
Syntax
Syntax 1
config call BIS_fnc_getCfgData
Parameters:
Returns: Array, String, Number or nil
Syntax 2
array call BIS_fnc_getCfgData
Parameters:
- Array of Strings - missionConfigFile classes and an attribute
Returns: Array, String, Number or nil
Examples
Example 1
private _value = (configFile >> "BulletBubbles" >> "BulletBubbles1" >> "type") call BIS_fnc_getCfgData;
Example 2
private _value = (missionConfigFile >> "Hubs" >> "A1" >> "QuickStart" >> "trigger") call BIS_fnc_getCfgData;
See also
BIS_fnc_getCfgDataArray · BIS_fnc_getCfgDataObject · BIS_fnc_getCfgDataPool · BIS_fnc_getCfgDataBool