Description
Add a "bullet camera" to shots fired by the specified unit.
Syntax
unit call BIS_fnc_diagBulletCam
Parameters:
unit: Object - the shooting unit. Can be a vehicle.
Returns: Boolean - true when done
Examples
Example 1
player call BIS_fnc_diagBulletCam;
Example 2
// bullet camera will be removed after 10s
_unit = player;
_unit call BIS_fnc_diagBulletCam;
_ehIndex = _unit getVariable "BIS_fnc_diagBulletCam_fired";
sleep 10;
_unit removeEventHandler ["fired", _ehIndex];