A_SPosAttack
The attack of Doom's Shotgun Guy. This shoots three bullets and plays the sound "shotguy/attack".
A_SPosAttack
(no parameters)
It is equivalent of:
SPOS F 0 bright A_PlaySound("shotguy/attack", CHAN_WEAPON) SPOS F 10 bright A_CustomBulletAttack(22.5, 0, 3, random(1,5)*3, "BulletPuff", 0, CBAF_NORANDOM)
Examples
This example is taken straight from Doom's Shotgun Guy.
Missile: SPOS E 10 A_FaceTarget SPOS F 10 bright A_SPosAttack SPOS E 10 goto See
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.