A_LoadShotgun2
From DoomWiki.org
A_LoadShotgun2 is a code pointer used in the attack animation for the super shotgun.
A_LoadShotgun2
just plays the sound effect DSDBLOAD. The sound source is the player that triggered the function.
Uses[edit]
The A_LoadShotgun2
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
41 | S_DSGUN7 | attack animation for the super shotgun |
Example[edit]
The following is an example of how to set the A_LoadShotgun2
code pointer in a DeHackEd file:
Pointer 21 (Frame 34) Codep Frame = 41
Or using BEX syntax:
[CODEPTR] Frame 1234 = LoadShotgun2
External links[edit]
- A_LoadShotgun2 in the Doom source code.
- A_LoadShotgun2 at the ZDoom wiki
- LoadShotgun2 at the Eternity Engine wiki