lockCameraTo: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
No edit summary |
||
Line 52: | Line 52: | ||
<dd class="note"> | <dd class="note"> | ||
The command also accepts a position (ASL) instead of an object. The vehicle has to have a stabilized optic for this command to work. | The command also accepts a position (ASL) instead of an object. The vehicle has to have a stabilized optic for this command to work. | ||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> | |||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on June 22, 2019 - 08:36 (UTC)</dd> | |||
<dt class="note">[[User:beno_83au|beno_83au]]</dt> | |||
<dd class="note"> | |||
To unlock the camera, just use ''objNull'': | |||
<code>_uav lockCameraTo [objNull,_turretPath];</code> | |||
</dd> | </dd> | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> |
Revision as of 09:36, 22 June 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.
- Posted on June 22, 2019 - 08:36 (UTC)
- beno_83au
-
To unlock the camera, just use objNull:
_uav lockCameraTo [objNull,_turretPath];