A_FireShotgun2
From DoomWiki.org
A_FireShotgun2 is a code pointer used in the attack animation for the super shotgun.
Contents
Uses[edit]
The A_FireShotgun2
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
36 | S_DSGUN2 | attack animation for the super shotgun |
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]
- A_FireShotgun2 in the Doom source code.
- A_FireShotgun2 at the ZDoom wiki
- FireShotgun2 at the Eternity Engine wiki