Just to add a tip... you can force a vehicle to both unload the cargo AND return fire while unloading by setting the driver's behaviour to careless. You should not set the whole's vehicle behaviour as careless as that includes the gunners. It's working great for me.