Arma 3 Scripting

enableFatigue

  • Local argument
  • Global effect
  • Arma 3 v0.50

Command · Markdown · JSON · original wiki page

Description

Enables/Disables the person's fatigue.

Syntax

unit enableFatigue enable

Parameters:

Returns: Nothing

Examples

Example 1

player enableFatigue false;

Example 2

{ _x enableFatigue false; } forEach (units group player);

See also

getFatigue · setFatigue

Community notes

Harmdhast

When the player dies enableFatigue is set to true after the respawn

Pierre MGI

To precise the note of Harmdhast, this command is not persistent (after respawn). So, in MP, you'll have to enableFatigue false, also in onPlayerRespawn.sqf or through the MP eventHandler MPRespawn.