enableDirectionStabilization: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix link) |
(Added command groups Camera Control and Turrets, adjusted description) |
||
Line 4: | Line 4: | ||
|version1= 2.06 | |version1= 2.06 | ||
|descr= Enables/disables direction stabilization of turrets. | |gr1= Camera Control | ||
|gr2= Turrets | |||
|descr= Enables / disables direction stabilization of turrets. This command only has an effect if the current optic mode of the selected turret has {{hl|directionStabilized}} configured in config. | |||
|s1= vehicle [[enableDirectionStabilization]] [enabled, turretPath] | |s1= vehicle [[enableDirectionStabilization]] [enabled, turretPath] | ||
Line 16: | Line 19: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>uav [[enableDirectionStabilization]] [false, [0]]; {{cc| | |x1= <code>uav [[enableDirectionStabilization]] [false, [0]]; {{cc|Disable direction stabilization for the first turret}}</code> | ||
|x2= <code>uav [[enableDirectionStabilization]] [true, [0]];</code> | |x2= <code>uav [[enableDirectionStabilization]] [true, [0]];</code> | ||
|x3= <code>uav [[enableDirectionStabilization]] [false]; {{cc| | |x3= <code>uav [[enableDirectionStabilization]] [false]; {{cc|Disable direction stabilization for the primary turret}}</code> | ||
|seealso= [[directionStabilizationEnabled]] [[lockCameraTo]] | |seealso= [[directionStabilizationEnabled]] [[lockCameraTo]] | ||
}} | }} |
Revision as of 19:55, 23 November 2021
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