enableDirectionStabilization: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>uav [[enableDirectionStabilization]] [false, [0]]; {{cc|disables direction stabilization on first turret}}</code> | |||
|x2= <code>uav [[enableDirectionStabilization]] [true, [0]];</code> | |||
|x3= <code>uav [[enableDirectionStabilization]] [false]; {{cc|disable direction stabilization on primary turret}}</code> | |||
|seealso= [[directionStabilizationEnabled]] [[lockCameraTo]] | |seealso= [[directionStabilizationEnabled]] [[lockCameraTo]] | ||
}} | }} |
Revision as of 10:00, 5 August 2021
Description
- Description:
- Enables/disables direction stabilization of turrets. Only has an effect if the current optic mode of selected turret has directionStabilized configured in config.
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle enableDirectionStabilization [enabled, turretPath]
- Parameters:
- vehicle: Object
- enabled: Bool - Enable or disable turret stabilization
- turretPath: Array
- Return Value:
- Nothing
Examples
- Example 1:
uav enableDirectionStabilization [false, [0]]; // disables direction stabilization on first turret
- Example 2:
uav enableDirectionStabilization [true, [0]];
- Example 3:
uav enableDirectionStabilization [false]; // disable direction stabilization on 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