lockedCameraTo

From Bohemia Interactive Community
Revision as of 16:41, 5 January 2022 by Lou Montana (talk | contribs) (Page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.08.

Description

Description:
Return the turret lock target.
The command is local to the turret, not the vehicle.
Groups:
Camera Control

Syntax

Syntax:
vehicle lockedCameraTo turretPath
Parameters:
vehicle: Object
turretPath: Array of Numbers - turret path. Use an empty array to select the gunner's turret by default
Return Value:
Nothing - not locked
Object - if locked to an object
Array format PositionASL - if locked to a position

Examples

Example 1:
vehicle player lockedCameraTo [];

Additional Information

See also:
lockCameraTo

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