directionStabilizationEnabled

From Bohemia Interactive Community
Revision as of 13:23, 5 May 2022 by Lou Montana (talk | contribs) (Text replacement - "<code>([a-zA-Z0-9_, ]+) +\[\[([a-zA-Z0-9_]+)\]\] +(\[[a-zA-Z0-9_, ]+\]);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
Jump to navigation Jump to search
Hover & click on the images for description

Description

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.
Groups:
Camera ControlTurrets

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