Difference between revisions of "A Punch"

From DoomWiki.org

[checked revision][checked revision]
m (add to new subcategory)
(add illustration)
Line 1: Line 1:
 
{{DISPLAYTITLE:A_Punch}}
 
{{DISPLAYTITLE:A_Punch}}
 
{{stub}}
 
{{stub}}
 +
[[File:Impxplod.png|thumb|right|Player punching an imp in E2M2. When the [[berserk pack]] is equipped, A_Punch can inflict a large amount of damage.]]
 
'''A_Punch''' is a [[code pointer]] used in the attack animation for the [[Fists]].
 
'''A_Punch''' is a [[code pointer]] used in the attack animation for the [[Fists]].
  

Revision as of 17:28, 3 March 2022

Under construction icon-yellow.svgThis article or section is a stub. Please help the Doom Wiki by adding to it.
Player punching an imp in E2M2. When the berserk pack is equipped, A_Punch can inflict a large amount of damage.

A_Punch is a code pointer used in the attack animation for the Fists.

Uses

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

Example

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

Pointer 21 (Frame 34)
Codep Frame = 6

Or using BEX syntax:

[CODEPTR]
Frame 1234 = Punch

External links