A_SPosAttack

From ZDoom Wiki
Jump to: navigation, search

A_SPosAttack

(no parameters)


The attack of Doom's Shotgun Guy. This shoots three bullets and plays the sound "shotguy/attack".

It is the equivalent to calling A_CustomBulletAttack with the parameters(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
Personal tools
Namespaces

Variants
Actions
Navigation
ACS
DECORATE
ZDoom mods
Toolbox