Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Extract an array from a configuration parameter.

Syntax

Syntax:getArray config
Parameters:
  • config: Config-2 - Configuration path to check. If the parameter is not defined for the queried configuration parameter, the command checks the parent classes for inherited parameters.
Return Value:Array - Configuration parameter as an array. If nothing is found, an empty array is returned.

Examples

Examples:
_array = getArray (configFile >> "CfgVehicles" >> "Thing" >> "threat")

Additional Information

See also: isArray, getNumber, getText, fn vbs getConfigValue
Multiplayer: 
Problems: 

Notes