---
name: "BIS_fnc_loadEntry"
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_loadEntry
revid: 349424
updated: 2023-11-08T16:27:33Z
---

# BIS_fnc_loadEntry

*Function · Configs · Arma 3 v1.00*

## Description

Searches for config entry in mission, campaign and then in global config file.

## Syntax

```sqf
[path,defaultConfig] call BIS_fnc_loadEntry
```

**Parameters:**

- `path`: [Array](../topics/Array.md) of [String](../topics/String.md)s - path
- `defaultConfig`: [Config](../topics/Config.md) - default path used in case when the original one is not found

**Returns:** [Array](../topics/Array.md), [Number](../topics/Number.md) or [String](../topics/String.md)

## Examples

### Example 1

```sqf
[["CfgWeapons","hgun_Rook40_snds_F","bullet3"], configfile >> "CfgWeapons" >> "hgun_Rook40_snds_F" >> "baseWeapon"] call BIS_fnc_loadEntry;
```

## See also

[BIS_fnc_loadClass](../functions/BIS_fnc_loadClass.md) · [configFile](../commands/configFile.md)

<sub>Source: [BI Community Wiki — BIS fnc loadEntry](https://community.bistudio.com/wiki/BIS_fnc_loadEntry) (revision 349424).</sub>
