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:
Frame number | Doom internal name | Use |
---|---|---|
39 | S_DSGUN5 | attack animation for the super shotgun |
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]
- A_OpenShotgun2 in the Doom source code.
- A_OpenShotgun2 at the ZDoom wiki
- OpenShotgun2 at the Eternity Engine wiki