Description
Returns current size of weapon sway of a given unit, in radians. This command may still return a value greater 0 even if sway was effectively set to 0 with player setCustomAimCoef 0;.
Syntax
getWeaponSway unit
Parameters:
unit: Object
Returns: Number - weapon sway
Examples
Example 1
_sway = getWeaponSway player;