lockCameraTo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
||
Line 16: | Line 16: | ||
|p3= turretPath: [[Array]] - path to the turret with required camera | |p3= turretPath: [[Array]] - path to the turret with required camera | ||
|r1=[[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>uav [[lockCameraTo]] [vehicle, [0,0]];</code> | |x1= <code>uav [[lockCameraTo]] [vehicle, [0,0]];</code> |
Revision as of 23:46, 7 August 2021
Description
- Description:
- Lock/Unlock stabilized camera to target. Works only on turrets which have optic mode selected with directionStabilized enabled.
- Groups:
- Camera Control
Syntax
- Syntax:
- vehicle lockCameraTo [target, turretPath]
- Parameters:
- vehicle: Object - UAV
- target: Object or PositionASL - use objNull for unlocking
- turretPath: Array - path to the turret with required camera
- Return Value:
- Nothing
Examples
- Example 1:
uav lockCameraTo [vehicle, [0,0]];
- Example 2:
uav lockCameraTo [objNull, [0,0]]; // unlocks the turret
Additional Information
- See also:
- camTarget camSetTarget camPrepareTarget directionStabilizationEnabled enableDirectionStabilization
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
- Posted on April 10, 2015 - 06:54 (UTC)
- Commy2
- The vehicle has to have a stabilized optic for this command to work with ASL position.