enableDirectionStabilization: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
|version1= 2.06 | |version1= 2.06 | ||
| | |gr1= Camera Control | ||
|gr2= Turrets | |||
|descr= Enables/disables direction stabilization of 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 12: | Line 13: | ||
|p1= vehicle: [[Object]] | |p1= vehicle: [[Object]] | ||
|p2= enabled: [[ | |p2= enabled: [[Boolean]] - enable or disable turret stabilization | ||
|p3= turretPath: [[Array]] | |p3= turretPath: [[Array]] format [[Turret Path]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>uav enableDirectionStabilization [false, [0]]; // Disable direction stabilization for the first turret</sqf> | ||
|x2= < | |x2= <sqf>uav enableDirectionStabilization [true, [0]];</sqf> | ||
|x3= < | |x3= <sqf>uav enableDirectionStabilization [false]; // Disable direction stabilization for the primary turret</sqf> | ||
|seealso= [[directionStabilizationEnabled]] [[lockCameraTo]] | |seealso= [[directionStabilizationEnabled]] [[lockCameraTo]] | ||
}} | }} |
Latest revision as of 10:54, 8 August 2022
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 format Turret Path
- Return Value:
- Nothing
Examples
- Example 1:
- uav enableDirectionStabilization [false, [0]]; // Disable direction stabilization for the first turret
- Example 2:
- Example 3:
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