Difference between revisions of "A CloseShotgun2"

From DoomWiki.org

[checked revision][checked revision]
(recategorize)
m (External links)
Line 30: Line 30:
 
== External links ==
 
== External links ==
 
* {{DoomSrc|file=p_enemy.c|line=1799|text=A_CloseShotgun2}} in the Doom source code.
 
* {{DoomSrc|file=p_enemy.c|line=1799|text=A_CloseShotgun2}} in the Doom source code.
 +
* {{zdoomwiki|title=A_CloseShotgun2}}
 +
* {{eterwiki|title=CloseShotgun2}}
  
 
[[Category:Weapon code pointers]]
 
[[Category:Weapon code pointers]]

Revision as of 08:31, 18 March 2020

A_CloseShotgun2 is a code pointer used in the attack animation for the Super Shotgun.

A_CloseShotgun2 is a wrapper around A_ReFire that first plays the sound effect DSDBCLS before invoking that function.

Uses

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

Example

The following is an example of how to set the A_CloseShotgun2 code pointer in a Dehacked file:

Pointer 21 (Frame 34)
Codep Frame = 43

Or using BEX syntax:

[CODEPTR]
Frame 1234 = CloseShotgun2

External links