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



Introduced in

Version:1.22

Description

Description:Changes the default sway, depending on unit fatigue (see getFatigue). If set to 0, the weapon is fully steady.

Syntax

Syntax:setWeaponSwayFactor number
Parameters:
  • number: Number - Sway factor, from 0 - 1.
Return Value:Nothing

Examples

Examples:
setWeaponSwayFactor 0;

Additional Information

See also: weaponSwayFactor, setUnitRecoilCoefficient
Multiplayer:
Problems:

Notes