---
name: "setFatigue"
type: command
status: ok
groups: ["Stamina System"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setFatigue
revid: 310086
updated: 2022-05-05T12:25:11Z
---

# setFatigue

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

Locality: arguments **global** · effect **local**

## Description

Sets the person's fatigue, from 0 to 1.

## Syntax

```sqf
unit setFatigue value
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)
- `value`: [Number](../topics/Number.md) - in 0..1 *available* fatigue range: 0 is fully energised, 1 is fully exhausted

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

## Examples

### Example 1

```sqf
player setFatigue 1;
```

## See also

Arma 3: Stamina · [getFatigue](../commands/getFatigue.md) · [enableFatigue](../commands/enableFatigue.md) · [setStamina](../commands/setStamina.md) · [getStamina](../commands/getStamina.md) · [enableStamina](../commands/enableStamina.md)

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