lockCameraTo: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Lock/Unlock stabilized camera (in vanilla used currently only for UAVs) to target. |= | | Lock/Unlock stabilized camera (in vanilla used currently only for UAVs) to target. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| vehicle '''lockCameraTo''' [target, turretPath]|= | | vehicle '''lockCameraTo''' [target, turretPath]|SYNTAX= | ||
|p1= vehicle: [[Object]] - UAV |= | |p1= vehicle: [[Object]] - UAV |PARAMETER1= | ||
|p2= [target, turretPath]: [[Array]] |= | |p2= [target, turretPath]: [[Array]] |PARAMETER2= | ||
|p3= target: [[Object]] or [[PositionASL]] - use [[objNull]] for unlocking |= | |p3= target: [[Object]] or [[PositionASL]] - use [[objNull]] for unlocking |PARAMETER3= | ||
|p4= turretPath: [[Array]] - path to the turret with required camera |= | |p4= turretPath: [[Array]] - path to the turret with required camera |PARAMETER4= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>uav [[lockCameraTo]] [vehicle, [0,0]];</code> |= | |x1= <code>uav [[lockCameraTo]] [vehicle, [0,0]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= | | |SEEALSO= | ||
}} | }} |
Revision as of 14:43, 7 April 2019
Description
- Description:
- Lock/Unlock stabilized camera (in vanilla used currently only for UAVs) to target.
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle lockCameraTo [target, turretPath]
- Parameters:
- vehicle: Object - UAV
- [target, turretPath]: Array
- target: Object or PositionASL - use objNull for unlocking
- turretPath: Array - path to the turret with required camera
- 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.