Description
Records weapon fire data of input unit over a specified period of time. Pressing the ESC key, the duration ending, or the unit dying ends the recording.
Syntax
[unit, duration, startTime] spawn BIS_fnc_unitCaptureFiring
Parameters:
unit: Object - unit to capture weapon fire data fromduration: Number - maximum duration to capturestartTime: Number - (Optional, default 0) starting time offset for the frame time
Returns: Script Handle
Examples
Example 1
[BIS_Vehicle, 50, 10] spawn BIS_fnc_unitCaptureFiring;
Example 2
[[2.135, "GAU8", "<NULL-object>"], [2.157, "GAU8", "<NULL-object>"]] // output example
See also
BIS_fnc_unitCaptureSimple · BIS_fnc_unitPlaySimple · BIS_fnc_unitPlayFiring · BIS_fnc_unitCapture · BIS_fnc_unitPlay