A_FirePistol
Jump to navigation
Jump to search
A_FirePistol
(no parameters)
Usage
Performs Doom's pistol attack, firing one pellet dealing 5 * 1d3 damage. This is a shortcut to calling A_FireBullets, A_PlaySound and A_GunFlash with certain predetermined hardcoded parameters.
Examples
This code is the equivalent of calling A_FirePistol.
A_FireBullets (5.6, 0, 1, 5, "BulletPuff") A_PlaySound("weapons/pistol", CHAN_WEAPON) A_GunFlash