lockCameraTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dd class="notedate">" to " <dt><dt> <dd class="notedate">")
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
Line 27: Line 27:


<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<dt><dt>
<dt><dt>
<dd class="notedate">Posted on April 10, 2015 - 06:54 (UTC)</dd>
<dd class="notedate">Posted on April 10, 2015 - 06:54 (UTC)</dd>
Line 35: Line 34:
</dd>
</dd>


<!-- Note Section END -->
</dl>
</dl>

Revision as of 00:32, 6 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Camera Control

Syntax

Syntax:
Syntax needed
Parameters:
vehicle: Object - UAV
target: Object or PositionASL - use objNull for unlocking
turretPath: Array - path to the turret with required camera
Return Value:
Return value needed

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.