lockedCameraTo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page creation) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|arg= local | |arg= local | ||
|descr= Return the turret lock target. | |descr= Return the turret lock target. | ||
Line 19: | Line 17: | ||
|p2= turretPath: [[Array]] of [[Number]]s - turret path. Use an empty array to select the gunner's turret by default | |p2= turretPath: [[Array]] of [[Number]]s - turret path. Use an empty array to select the gunner's turret by default | ||
|r1= [[Nothing]] - not locked | |r1= Can be one of: | ||
[[Object]] - if locked to an object | * [[Nothing]] - not locked | ||
[[Array]] format [[Position#PositionASL|PositionASL]] - if locked to a position | * [[Object]] - if locked to an object | ||
* [[Array]] format [[Position#PositionASL|PositionASL]] - if locked to a position | |||
|x1= < | |x1= <sqf>vehicle player lockedCameraTo [];</sqf> | ||
|seealso= [[lockCameraTo]] | |seealso= [[lockCameraTo]] | ||
}} | }} |
Latest revision as of 12:49, 12 March 2024
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:
- Can be one of:
- 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