A_FireShotgun2

From DoomWiki.org

Super shotgun inflicting damage on a cacodemon. A_FireShotgun2 is the code pointer in the super shotgun firing animation that inflicts damage.

A_FireShotgun2 is a code pointer used in the attack animation for the super shotgun.

Uses[edit]

The A_FireShotgun2 code pointer appears in the following states in Doom's state table:

Example[edit]

The following is an example of how to set the A_FireShotgun2 code pointer in a DeHackEd file:

Pointer 21 (Frame 34)
Codep Frame = 36

Or using BEX syntax:

[CODEPTR]
Frame 1234 = FireShotgun2

Code structure[edit]

A_FireShotgun2 uses the same P_GunShot function as A_FirePistol and so its code structure is largely identical.

External links[edit]