---
name: "BIS_fnc_getParamValue"
type: function
status: ok
groups: ["Mission Parameters"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_getParamValue
revid: 378105
updated: 2026-02-14T11:08:56Z
---

# BIS_fnc_getParamValue

*Function · Mission Parameters · Arma 3 v1.00*

## Description

Returns the value of the named mission parameter.
This function is global and will return selected param value on any PC including JIP. For backward compatibility it also supports "param1" and "param2".

## Syntax

```sqf
paramClass call BIS_fnc_getParamValue
```

**Parameters:**

- `paramClass`: [String](../topics/String.md) - class name of one of Mission Parameters
- `defalutValue`: [Number](../topics/Number.md) - (Optional, default 0) default value to return if ''paramClass does not exist

**Returns:** [Number](../topics/Number.md) - param value

## Examples

### Example 1

```sqf
scoreToWin = "ScoreToWin" call BIS_fnc_getParamValue;
```

### Example 2

```sqf
_viewDistance = ["TAG_viewDistance", 500] call BIS_fnc_getParamValue;
```

### Example 3

```sqf
if (param1 == ("param1" call BIS_fnc_getParamValue)) then
{
    hint "Old timer";
};
```

## See also

Mission Parameters · [getMissionConfigValue](../commands/getMissionConfigValue.md) · [getMissionConfig](../commands/getMissionConfig.md) · [BIS_fnc_storeParamsValues](../functions/BIS_fnc_storeParamsValues.md)

<sub>Source: [BI Community Wiki — BIS fnc getParamValue](https://community.bistudio.com/wiki/BIS_fnc_getParamValue) (revision 378105).</sub>
