A_FirePistol

From ZDoom Wiki

Jump to: navigation, search

A_FirePistol

(no parameters)

Performs Doom's pistol 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_FirePistol for 6 tics on the B frame of the PISG sprite:

    PISG B 0 A_FireBullets (5.6, 0, 1, 5, "BulletPuff")
    PISG B 6 A_GunFlash
Personal tools