A FireShotgun

From ZDoom Wiki

Jump to: navigation, search

A_FireShotgun

(no parameters)

Performs Doom's shotgun attack. This is a shortcut to calling A_FireBullets and A_GunFlash with certain predetermined hardcoded parameters.

This code is the equivalent of calling A_FireShotgun for 7 tics on the A frame of the SHTG sprite:

    SHTG A 0 A_FireBullets (5.6, 0, 7, 5, "BulletPuff")
    SHTG A 7 A_GunFlash
Personal tools