lockedCameraTo: Difference between revisions
Lou Montana (talk | contribs) m (Some wiki formatting) |
BrettMayson (talk | contribs) mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 15: | Line 15: | ||
|p1= vehicle: [[Object]] | |p1= vehicle: [[Object]] | ||
|p2= turretPath: [[ | |p2= turretPath: [[Turret Path]]. Use an empty array to select the gunner's turret by default | ||
|r1= Can be one of: | |r1= Can be one of: | ||
* [[Nothing]] - not locked | * [[Nothing]] - not locked | ||
* [[Object]] - if locked to an object | * [[Object]] - if locked to an object | ||
* | * [[Position#PositionASL|PositionASL]] - if locked to a position | ||
|x1= <sqf>vehicle player lockedCameraTo [];</sqf> | |x1= <sqf>vehicle player lockedCameraTo [];</sqf> | ||
Latest revision as of 18:48, 2 April 2026
Description
- Description:
- Return the turret lock target.
- Groups:
- Camera Control
Syntax
- Syntax:
- vehicle lockedCameraTo turretPath
- Parameters:
- vehicle: Object
- turretPath: Turret Path. Use an empty array to select the gunner's turret by default
- Return Value:
- Can be one of:
- Nothing - not locked
- Object - if locked to an object
- 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.
Only post proven facts here! Add Note