---
name: "getStatValue"
type: command
status: ok
groups: ["System"]
arma3_since: "1.18"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getStatValue
revid: 347571
updated: 2023-09-28T10:03:14Z
---

# getStatValue

*Command · System · Arma 3 v1.18*

## Description

Returns value of the given stat.

A list of possible StatNames can be found here: Arma 3: Stat Names

## Syntax

```sqf
getStatValue name
```

**Parameters:**

- `name`: [String](../topics/String.md)

**Returns:** [Number](../topics/Number.md) - (can return [Nothing](../topics/Nothing.md))

## Examples

### Example 1

```sqf
getStatValue "ExpWarlockDown"; // Checks if the "Warlock Down" Achivement was already aquired
```

## See also

[setStatValue](../commands/setStatValue.md) · Arma 3: Stat Names

<sub>Source: [BI Community Wiki — getStatValue](https://community.bistudio.com/wiki/getStatValue) (revision 347571).</sub>
