Arma 3 Scripting

setFatigue

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

Command · Markdown · JSON · original wiki page

Description

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

Syntax

unit setFatigue value

Parameters:

Returns: Nothing

Examples

Example 1

player setFatigue 1;

See also

Arma 3: Stamina · getFatigue · enableFatigue · setStamina · getStamina · enableStamina

Community notes

Killzone_Kid

setFatigue will affect fatigue of a local unit only. If you execute it on remote unit, the getFatigue value will only change locally with no effect on remote unit. Scripted setFatigue changes don't broadcast at all. In short, use setFatigue on local units only.