lockedCameraTo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|branch= dev " to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 21: | Line 21: | ||
[[Array]] format [[Position#PositionASL|PositionASL]] - if locked to a position | [[Array]] format [[Position#PositionASL|PositionASL]] - if locked to a position | ||
|x1= < | |x1= <sqf> vehicle player lockedCameraTo [];</sqf> | ||
|seealso= [[lockCameraTo]] | |seealso= [[lockCameraTo]] | ||
}} | }} |
Revision as of 12:08, 3 May 2022
Description
- Description:
- Return the turret lock target.
- 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:
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