Skip to content
VN_fnc_fired_refuel

VN_fnc_fired_refuel

Fired eventhandler which will delete the projectile and refuel the vehicle back to full fuel.

Syntax

[
    _vehicle,
    _weapon,
    _muzzle,
    _mode,
    _ammo,
    _magazine,
    _projectile,
    _gunner,
    _drop
] call VN_fnc_fired_refuel;

Parameters

ParameterTypeDefaultDescription
_vehicle ObjectOBJNULL Vehicle firing the weapon
_weapon String"" Weapon that is fired
_muzzle String"" Weapon muzzle that is fired
_mode String"" Weapon mode
_ammo String"" Weapon ammo that is fired
_magazine String"" Weapon magazine that is fired
_projectile ObjectOBJNULL Weapon magazine that is fired
_gunner ObjectOBJNULL Object that fired the weapon
_drop BooleanFALSE Should the projectile be dropped

Return value

Boolean - Function reached the end

Documented by Ethan Johnson.