A_OpenShotgun2

From DoomWiki.org

Revision as of 09:12, 4 March 2022 by XymphBot (talk | contribs) (Automated edit - Add sortkey without A_ prefix)


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

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

Example

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