---
name: "getFatigue"
type: command
status: ok
groups: ["Stamina System"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getFatigue
revid: 363589
updated: 2024-04-07T18:18:03Z
---

# getFatigue

*Command · Stamina System · Arma 3 v0.50*

Locality: arguments **global**

## Description

Returns fatigue of given unit.

## Syntax

```sqf
getFatigue unit
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)

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

## Examples

### Example 1

```sqf
if (getFatigue player < 0.5) then { player sideChat "I'm good to go!" };
```

## See also

[setFatigue](../commands/setFatigue.md) · [enableFatigue](../commands/enableFatigue.md) · [getStamina](../commands/getStamina.md)

## Community notes

**Killzone_Kid** — 2014-04-05

[getFatigue](../commands/getFatigue.md) can be applied to remote unit however it will not read the changes made to unit's fatigue with [setFatigue](../commands/setFatigue.md) command. Only natural changes resulting from unit moving will be counted.
When applied to local unit, it will read resulting value of natural fatigue combined with artificial changes added locally by [setFatigue](../commands/setFatigue.md).
In short, the server wouldn't know the correct value of remote unit's fatigue if you used [setFatigue](../commands/setFatigue.md) on the unit prior.

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