A_M_FireShotgun
Does nothing if the calling actor has no valid target.
A_M_FireShotgun
(no parameters)
Otherwise, plays the sound "weapons/shotgf" on the WEAPON channel, calls A_FaceTarget, then performs seven missile-range hitscan attack with a horizontal spread of 5.625°, each of them inflicting 5d3 damage and spawning a BulletPuff. This replicates Shotgun fire. Finally, it sets the calling actor's special1 field to the current tic count + 27.
This codepointer is restricted to ScriptedMarine and derived classes.
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.