No idea. You could do it relative to the muzzlepoint.
vectorAdd(%obj.getMuzzlePoint(0),vectorScale(%obj.getMuzzleVector(0),-0.5)); would move it back from wherever it normally fires by one brick width which would be close enough to an ejection point for a standard-sized gun.