A function used to find out which unit exactly fired.
Replacement for gunner, on multi-turret vehicles.
_vehicle | a vehicle with turrets <OBJECT> |
_weapon | a weapon in the vehicles turret STRING |
_turretPath = [cameraOn, "HMG_127_mbt"] call CBA_fnc_getFirer
ARRAY Firer of the weapon. objNull if the weapon does not exist on the vehicle <OBJECT> Turret path of the firer. [] if firer is not in a turret ARRAY
Rocko, commy2