---
name: "BIS_fnc_diagConfig"
type: function
status: ok
groups: ["Diagnostic"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_diagConfig
revid: 309644
updated: 2022-05-05T12:07:55Z
---

# BIS_fnc_diagConfig

*Function · Diagnostic · Arma 3 v1.00*

## Description

Prints config entries.

## Syntax

*syntax inferred from the function header*

```sqf
[param0, param1, param2] call BIS_fnc_diagConfig
```

**Parameters:**

- `param0` — 0: CONFIG - config class which will be searched (default: configFile)
- `param1` — 1: STRING or ARRAY - entry name(s) whose values will be printed
- `param2` — 2: STRING - scan mode, can be one of following:
  "controls" - recursively scans controls in root, class controls, class controlsBackground and in RscControlsGroup controls (type = 15).
  "turrets" - recursively scans vehicles's turrets.
  "weapons" - scans weapon muzzles and modes.
  (default) - scans just class roots.

**Returns:** STRING

Results are printed to debug log and wiki compatible table is copied to clipboard.

## 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:
Prints config entries.

Parameter(s):
    0: CONFIG - config class which will be searched (default: configFile)
    1: STRING or ARRAY - entry name(s) whose values will be printed
    2: STRING - scan mode, can be one of following:
        "controls" - recursively scans controls in root, class controls, class controlsBackground and in RscControlsGroup controls (type = 15).
        "turrets" - recursively scans vehicles's turrets.
        "weapons" - scans weapon muzzles and modes.
        (default) - scans just class roots.

Returns:
STRING

Results are printed to debug log and wiki compatible table is copied to clipboard.
*/
```

<sub>Source: [BI Community Wiki — BIS fnc diagConfig](https://community.bistudio.com/wiki/BIS_fnc_diagConfig) (revision 309644).</sub>
