A_M_FireCGun
Does nothing if the calling actor has no valid target.
A_M_FireCGun (bool accurate)
Otherwise, plays the sound "weapons/chngun" 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 Chaingun fire.
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.