enableDirectionStabilization: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |game1= arma3 |version1= 2.06 |branch= dev " to " |game1= arma3 |version1= 2.06 ")
m (Fix link)
Line 4: Line 4:
|version1= 2.06
|version1= 2.06


|descr= Enables/disables direction stabilization of turrets. Only has an effect if the current optic mode of selected turret has  [[directionStabilized]] configured in config.
|descr= Enables/disables direction stabilization of turrets. Only has an effect if the current optic mode of selected turret has  [[directionStabilizationEnabled]] configured in config.


|s1= vehicle [[enableDirectionStabilization]] [enabled, turretPath]
|s1= vehicle [[enableDirectionStabilization]] [enabled, turretPath]

Revision as of 18:29, 5 October 2021

Hover & click on the images for description

Description

Description:
Enables/disables direction stabilization of turrets. Only has an effect if the current optic mode of selected turret has directionStabilizationEnabled configured in config.
Groups:
Uncategorised

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]]; // disables direction stabilization on first turret
Example 2:
uav enableDirectionStabilization [true, [0]];
Example 3:
uav enableDirectionStabilization [false]; // disable direction stabilization on 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