directionStabilizationEnabled: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
|version1= 2.06 | |version1= 2.06 | ||
| | |gr1= Camera Control | ||
|gr2= Turrets | |||
|descr= Get state of direction stabilization. | |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. | |||
This command | |||
|s1= vehicle [[directionStabilizationEnabled]] turretPath | |s1= vehicle [[directionStabilizationEnabled]] turretPath | ||
Line 14: | Line 14: | ||
|p1= vehicle: [[Object]] | |p1= vehicle: [[Object]] | ||
|p2= turretPath: [[Array]] | |p2= turretPath: [[Array]] format [[Turret Path]] | ||
|r1= [[ | |r1= [[Boolean]] - whether direction stabilization is enabled | ||
|x1= < | |x1= <sqf>uav directionStabilizationEnabled [0];</sqf> | ||
|seealso= [[enableDirectionStabilization]] [[lockCameraTo]] | |seealso= [[enableDirectionStabilization]] [[lockCameraTo]] | ||
}} | }} |
Latest revision as of 10:50, 8 August 2022
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 format Turret Path
- 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