lockCameraTo: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2  |descr=$3") | Lou Montana (talk | contribs)  m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") | ||
| Line 1: | Line 1: | ||
| {{RV|type=command | {{RV|type=command | ||
| | arma3 | |game1= arma3 | ||
| |version1= 1.26 | |||
| |1.26 | |||
| |gr1= Camera Control | |gr1= Camera Control | ||
Revision as of 23:24, 13 June 2021
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:
- camTarget camSetTarget camPrepareTarget
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.
 
	