directionStabilizationEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "Bool" to "Boolean")
Line 16: Line 16:
|p2= turretPath: [[Array]]
|p2= turretPath: [[Array]]


|r1= [[Bool]] - Whether direction stabilization is enabled.
|r1= [[Boolean]] - Whether direction stabilization is enabled.


|x1= <code>uav [[directionStabilizationEnabled]] [0];</code>
|x1= <code>uav [[directionStabilizationEnabled]] [0];</code>

Revision as of 23:00, 10 August 2021

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.06.

Description

Description:
Get state of direction stabilization. Command returns true when current optic mode of selected turret has direction stabilization (directionStabilized) configured in config and if it's not disabled by enableDirectionStabilization. This command cannot be used to determine if current optic of turret has directionStabilized enabled in config
Groups:
Uncategorised

Syntax

Syntax:
vehicle directionStabilizationEnabled turretPath
Parameters:
vehicle: Object
turretPath: Array
Return Value:
Boolean - Whether direction stabilization is enabled.

Examples

Example 1:
uav directionStabilizationEnabled [0];

Additional Information

See also:
enableDirectionStabilization 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