Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Introduced in

Version:1.18

Description

Description:Adds the passed value to the unit
's
total fatigue (
fatigue is
between 0
=rested and
-1
=tired
).

Syntax

Syntax:unit addToFatigue change
Parameters:
  • unit: Object - Affected unit.
  • change: Number - Change in fatigue (between -1-1).
Return Value:Nothing

Examples

Examples:
player addToFatigue -0.15

Additional Information

See also: getFatigue, addToAnaerobicFatigue, addToAerobicFatigue, addToFatigueDutyBias, setFatigueMultiplier, setFatigueRecoveryRate
Multiplayer: 
Problems: 

Notes