Spectator · Camera presets
getTargetCameraVehicle
FF_spectator_fnc_getTargetCameraVehicle
internalPREP23 lines
Description
Computes the current vehicle camera position, orientation and field of view.
- Arguments
- 0: Target unit <OBJECT>
- Returns
- [positionASL,rotation,FOV] or empty <ARRAY>
Example
_this call FF_spectator_fnc_getTargetCameraVehicle
Source
- File
x\FF\addons\spectator\fnc_getTargetCameraVehicle.sqf- Lines
- 23
- Registration
- PREP
- Exposure
- internal