Description
Plays back input weapon fire data on input unit.
Syntax
[unit, data, stateIgnore] spawn BIS_fnc_unitPlayFiring
Parameters:
unit: Object - unit to play weapon fire data ondata: Array - firing data to use BIS_fnc_unitCaptureFiringstateIgnore: Boolean - (Optional, default false) whether to ignore if the Unit is dead and/or cannot move
Returns: Script Handle
Examples
Example 1
private _capturedFireData = [[2.135, "GAU8", "<NULL-object>"]];
[BIS_Vehicle, _capturedData, true] spawn BIS_fnc_unitPlayFiring;
See also
BIS_fnc_unitCaptureFiring · BIS_fnc_unitCaptureSimple · BIS_fnc_unitPlaySimple · BIS_fnc_unitCapture · BIS_fnc_unitPlay