enableGunStabilization
- Arma 3 v2.22
Command · also in Turrets · Markdown · JSON · original wiki page
Description
Enables/disables turret gun stabilisation.
Syntax
vehicle enableGunStabilization [mode, turretPath]
Parameters:
-
vehicle: Object -
mode: Number - can be one of:- -1 - clear override
- 0 - no stabilisation
- 1 - elevation stabilisation
- 2 - traverse stabilisation
- 3 - both
-
turretPath: Turret Path
Returns: Number - the previous mode, also returns -1 on error
Examples
Example 1
vehicle player enableGunStabilization [3, [0]];
See also
enableDirectionStabilization · directionStabilizationEnabled · lockCameraTo