A_ShootGun
Standard monster hit scan attack in Strife. It shoots one bullet dealing 3 * 1d5 damage and plays the sound "monsters/rifle".
A_ShootGun
(no parameters)
The following code is equivalent to calling A_ShootGun for 6 tics on the F frame of the AGRD sprite.
AGRD F 0 A_PlaySound ("monsters/rifle", CHAN_WEAPON) AGRD F 0 A_FaceTarget AGRD F 6 A_CustomBulletAttack (8, 0, 1, 3*random(1,5), "StrifePuff", 2048, CBAF_NORANDOM)
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.