VN_fnc_fired_refuel
Jump to navigation
Jump to search
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Fired eventhandler which will delete the projectile and refuel the vehicle back to full fuel.
Syntax
- Syntax
- [_vehicle,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile,_gunner,_drop] call VN_fnc_fired_refuel;
- Parameters
- _vehicle: Object - (Optional, default
OBJNULL
) Vehicle firing the weapon - _weapon: String - (Optional, default
""
) Weapon that is fired - _muzzle: String - (Optional, default
""
) Weapon muzzle that is fired - _mode: String - (Optional, default
""
) Weapon mode - _ammo: String - (Optional, default
""
) Weapon ammo that is fired - _magazine: String - (Optional, default
""
) Weapon magazine that is fired - _projectile: Object - (Optional, default
OBJNULL
) Weapon magazine that is fired - _gunner: Object - (Optional, default
OBJNULL
) Object that fired the weapon - _drop: Boolean - (Optional, default
FALSE
) Should the projectile be dropped - Return value
- Boolean - Function reached the end