A_OpenShotgun2

From DoomWiki.org

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

A_OpenShotgun2 just plays the sound effect DSDBOPN. The sound source is the player that triggered the function.

Uses[edit]

The A_OpenShotgun2 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_OpenShotgun2 code pointer in a DeHackEd file:

Pointer 21 (Frame 34)
Codep Frame = 39

Or using BEX syntax:

[CODEPTR]
Frame 1234 = OpenShotgun2

External links[edit]