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



Introduced in

Version:2.00

Description

Description:

Sets the strength of the unit weapon recoil (applied to all the unit weapons).

Syntax

Syntax:unit setUnitRecoilCoefficient recoil
Parameters:
  • recoil: Number - Recoil strength. Realistic values are: ~20 for handguns, ~100 for rifles (0: no recoil).
Return Value:Nothing

Examples

Examples:
player setUnitRecoilCoefficient 10;

Additional Information

See also: unitRecoilCoefficient, setWeaponSwayFactor, setDispersionFactor
Multiplayer:
Problems:

Notes