Arma 3 Scripting

BIS_fnc_getCfgDataArray

  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Gets an array defined in Config. If the value is not an array, it is retyped into one.

Syntax

Syntax 1

config call BIS_fnc_getCfgDataArray

Parameters:

Returns: Array or nil

Syntax 2

array call BIS_fnc_getCfgDataArray

Parameters:

Returns: Array or nil

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