A_BulletAttack
Performs a hitscan attack. The amount of bullets fired is specified with the actor's Damage property. Additionally the attack sound is being played.
A_BulletAttack
(no parameters)
Examples
This is a shotgun zombie. It fires 5 bullets, according to its Damage property.
ACTOR ShotgunZombie : ZombieMan { Damage 5 States { Missile: POSS E 10 A_FaceTarget POSS F 8 A_BulletAttack POSS E 8 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.