lockCameraTo: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "Category:Command Group: Remote Control" to "") |
mNo edit summary |
||
Line 7: | Line 7: | ||
|gr1 = Camera Control |GROUP1= | |gr1 = Camera Control |GROUP1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 48: | Line 45: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
Revision as of 11:15, 26 September 2020
Description
- Description:
- Lock/Unlock stabilized camera (in vanilla used currently only for UAVs) to target.
- 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:
- See also needed
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
Notes
- 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.