Arma 3 Scripting

Command in Camera Control, Turrets

directionStabilizationEnabled

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

Description

Get state of direction stabilization. This command returns true if the current optic mode of the selected turret has direction stabilization configured in config (directionStabilized) and if it is also not disabled by enableDirectionStabilization.

This command can not be used to determine if the current optic of the turret has directionStabilized enabled in config.

Syntax

vehicle directionStabilizationEnabled turretPath

Parameters:

Returns: Boolean - whether direction stabilization is enabled

Examples

Example 1

uav directionStabilizationEnabled [0];

See also

enableDirectionStabilization · lockCameraTo