Description
Gets an array defined in Config. If the value is not an array, it is retyped into one.
-
Default syntax works for any config.
-
Alternative syntax is for comfortable working with mission description.ext.
Syntax
Syntax 1
config call BIS_fnc_getCfgDataArray
Parameters:
Syntax 2
array call BIS_fnc_getCfgDataArray
Parameters:
- Array of Strings - missionConfigFile classes and an attribute
Examples
Example 1
private _array = (missionConfigFile >> "Characters" >> "Default" >> "equipAdjust") call BIS_fnc_getCfgDataArray;
Example 2
private _array = ["Characters","Default","equipAdjust"] call BIS_fnc_getCfgDataArray;
See also
BIS_fnc_getCfgData · BIS_fnc_getCfgDataObject · BIS_fnc_getCfgDataPool · BIS_fnc_getCfgDataBool