A_M_FirePistol
		
		
		
		Jump to navigation
		Jump to search
		
A_M_FirePistol (bool accurate)
Does nothing if the calling actor has no valid target.
Otherwise, plays the sound "weapons/pistol" on the WEAPON channel, calls A_FaceTarget, then performs a missile-range hitscan attack without spread (if accurate is true) or a horizontal spread of 5.625° (if accurate is false) that inflicts 5d3 damage and spawns a BulletPuff. This replicates Pistol fire.
This codepointer is restricted to ScriptedMarine and derived classes.