Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


Introduced in

Version:3.7

Description

Description: Defines the global fatigue scaling ratio.

Will only have an effect if the scenario setting allows scripted overrides.

  • -1: Reset to VBS3.cfg setting. (In MP this will reset the scaling of all clients to the local cfg value of where the command was issued.)
  • 0: No fatigue accumulation.
  • >0 to 1: Realism factor (.5==50%, 1==100%). At 50% a unit will expend only half the effort it would at a 100% realistic setting, i.e. it will recover twice as fast (or even faster, due to the indirect effects, and other factors involved).

Syntax

Syntax: setFatigueScaling scale
Parameters:
  • scale: Number - see description
Return Value: Nothing

Examples

Examples:
setFatigueScaling .5

Additional Information

See also: getFatigueScaling, addToFatigueDutyBias, setFatigueMultiplier, resetFatigue
Multiplayer: 
Problems: 

Notes



  • No labels