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



Introduced in

Version:1.19

Description

Description:Returns an array of configuration classes that match the given condition.

Syntax

Syntax:condition ConfigClasses config
Parameters:
  • condition: String - Code that has to evaluate to true for class to be listed.
  • config: Config-2 - Configuration file to search.
Return Value:Array

Examples

Examples:
_arr="(getNumber (_x >> 'scope'))==1" configClasses (configFile >> "CfgWeapons")
_choppers="configName _x isKindOf 'Helicopter'" configClasses (configFile>>"CfgVehicles")

Additional Information

See also: 
Multiplayer: 
Problems: 

Notes