---
name: "BIS_fnc_getCfgSubClasses"
type: function
status: ok
groups: ["Configs"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_getCfgSubClasses
revid: 326874
updated: 2022-07-12T21:44:34Z
---

# BIS_fnc_getCfgSubClasses

*Function · Configs · Arma 3 v1.00*

## Description

Return all child classes of given class.

## Syntax

*syntax inferred from the function header*

```sqf
_this call BIS_fnc_getCfgSubClasses
```

**Parameters:**

- `_this` — CFG
  _this: ARRAY of STRINGS - missionConfigFile classes and an attribute.

**Returns:** ARRAY (of STRINGS with sub-classes names)

## Examples

### Example 1

```sqf
private _allVehHitPoints = (configfile >> "CfgVehicles" >> "C_Hatchback_01_sport_F" >> "HitPoints") call BIS_fnc_getCfgSubClasses;
```

## Function header

The comment at the top of the function's file in the game; this page's description, params, syntax, returns come from it.

```sqf
/*
Description:
Return all child classes of given class.

Remark(s):
 Can by called 2 ways:
     1st way (general) works for any config.
     2nd way is for comfortable working with mission description.ext.

Parameter(s):
    _this: CFG
    _this: ARRAY of STRINGS - missionConfigFile classes and an attribute.

Example:

 1st way of calling:

    _subclasses = (missionconfigfile >> "Hubs" >> "A1" >> "QuickStart") call Bis_fnc_getCfgSubClasses;

 2nd way of calling:

    _subclasses = ["Hubs"] call Bis_fnc_getCfgSubClasses;

Returns:
    ARRAY (of STRINGS with sub-classes names)
*/
```

<sub>Source: [BI Community Wiki — BIS fnc getCfgSubClasses](https://community.bistudio.com/wiki/BIS_fnc_getCfgSubClasses) (revision 326874).</sub>
