Introduced in

Version:2.07

Description

Description:
Defines whether there is a direct correlation between unit fatigue and movement speed.

If set to true, then the unit gradually gets slower as the fatigue level rises; if set to false, there is an abrupt speed change once fatigue reaches 1, and the speed does not decrease any further after that:

Image: Correlation between the distance run (X), the unit's fatigue, and his resulting speed (Y).

Syntax

Syntax:unit setFatigueAffectsSpeed affected
Parameters:
Return Value:Nothing

Examples

Examples:
player setFatigueAffectsSpeed false;

Additional Information

See also: getFatigueAffectsSpeed, addToAnaerobicFatigue, addToAerobicFatigue
Multiplayer:
Problems:

Notes