Page tree

Versions Compared

Key

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



Introduced in

Version:2.07

Description

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

If set to true, then the unit

will

gradually

get

gets slower

is

as the fatigue level rises; if set to false, there

will be

is an abrupt speed change once fatigue reaches 1, and the speed

will

does not decrease any further after that:

Image Modified

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

Syntax

Syntax:unit setFatigueAffectsSpeed affected
Parameters:
see
  • See description (default: true).
Return Value:Nothing

Examples

Examples:
player setFatigueAffectsSpeed false;

Additional Information

See also: getFatigueAffectsSpeed, addToAnaerobicFatigue, addToAerobicFatigue
Multiplayer:
 

Problems:
 

Notes