lockCameraTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 45: Line 45:
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Camera Control|lockCameraTo]]
[[Category:Command Group: Camera Control|lockCameraTo]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on April 10, 2015 - 06:54 (UTC)</dd>
<dt class="note">[[User:Commy2|Commy2]]</dt>
<dd class="note">
The command also accepts a position (ASL) instead of an object. The vehicle has to have a stabilized optic for this command to work.
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 08:54, 10 April 2015

Hover & click on the images for description

Description

Description:
Lock/Unlock stabilized camera (in vanilla used currently only for UAVs) to target.
Groups:
Uncategorised

Syntax

Syntax:
vehicle lockCameraTo [object,turretPath]
Parameters:
vehicle: Object
[object,turretPath]: Array
object: Object or Position - use objNull for unlocking
turretPath: Array
Return Value:
Nothing

Examples

Example 1:
uav lockCameraTo [vehicle,[0,0]];

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

Bottom Section

Posted on April 10, 2015 - 06:54 (UTC)
Commy2
The command also accepts a position (ASL) instead of an object. The vehicle has to have a stabilized optic for this command to work.