enableDirectionStabilization: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Fix)
Line 21: Line 21:
|x1= <sqf>uav enableDirectionStabilization [false, [0]]; // Disable direction stabilization for the first turret</sqf>
|x1= <sqf>uav enableDirectionStabilization [false, [0]]; // Disable direction stabilization for the first turret</sqf>


|x2= <sqf>uav enableDirectionStabilization [true, [0]]</sqf>
|x2= <sqf>uav enableDirectionStabilization [true, [0]];</sqf>


|x3= <sqf>uav enableDirectionStabilization [false]; // Disable direction stabilization for the primary turret</sqf>
|x3= <sqf>uav enableDirectionStabilization [false]; // Disable direction stabilization for the primary turret</sqf>

Revision as of 17:58, 5 May 2022

Hover & click on the images for description

Description

Description:
Enables / disables direction stabilization of turrets. This command only has an effect if the current optic mode of the selected turret has directionStabilized configured in config.
Groups:
Camera ControlTurrets

Syntax

Syntax:
vehicle enableDirectionStabilization [enabled, turretPath]
Parameters:
vehicle: Object
enabled: Boolean - enable or disable turret stabilization
turretPath: Array
Return Value:
Nothing

Examples

Example 1:
uav enableDirectionStabilization [false, [0]]; // Disable direction stabilization for the first turret
Example 2:
uav enableDirectionStabilization [true, [0]];
Example 3:
uav enableDirectionStabilization [false]; // Disable direction stabilization for the primary turret

Additional Information

See also:
directionStabilizationEnabled lockCameraTo

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note