Arma 3 Scripting

Command in Object Manipulation

setUnitRecoilCoefficient

Also available as Markdown and JSON, or read the original wiki page.

Description

Proportionaly increase/decrease unit's recoil. Drives muzzle up with every shot when supplied positive number and down when negative. 0 cancels recoil.

Syntax

unitName setUnitRecoilCoefficient coefficient

Parameters:

Returns: Nothing

Examples

Example 1

player setUnitRecoilCoefficient 10;

See also

unitRecoilCoefficient