directionStabilizationEnabled: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |game1= arma3 |version1= 2.06 |branch= dev " to " |game1= arma3 |version1= 2.06 ") |
(Added command groups Camera Control and Turrets, adjusted description) |
||
Line 4: | Line 4: | ||
|version1= 2.06 | |version1= 2.06 | ||
| | |gr1= Camera Control | ||
|gr2= Turrets | |||
This command | |descr= Get state of direction stabilization. This command returns [[true]] if the current optic mode of the selected turret has direction stabilization configured in config ({{hl|directionStabilized}}) and if it is also not disabled by [[enableDirectionStabilization]].<br> | ||
This command can not be used to determine if the current optic of the turret has {{hl|directionStabilized}} enabled in config. | |||
|s1= vehicle [[directionStabilizationEnabled]] turretPath | |s1= vehicle [[directionStabilizationEnabled]] turretPath | ||
Line 14: | Line 16: | ||
|p2= turretPath: [[Array]] | |p2= turretPath: [[Array]] | ||
|r1= [[Boolean]] - 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 19:55, 23 November 2021
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