setUnitRecoilCoefficient

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2: Operation Arrowhead version 1.62
  

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.62

Description

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

Syntax:
unitName setUnitRecoilCoefficient coefficient
Parameters:
unitName: Object
coefficient: Number
Return Value:
Nothing

Examples

Example 1:
player setUnitRecoilCoefficient 10

Additional Information

Multiplayer:
-
See also:
unitRecoilCoefficient

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

Posted on March 28, 2015 - 11:50 (UTC)
Benargee
Doesnt seem to work on AI or remote controlled units. Setting the value too high, positive or negative produces some interesting recoil animations.