A_Punch
From DoomWiki.org
Revision as of 09:12, 4 March 2022 by XymphBot (talk | contribs) (Automated edit - Add sortkey without A_ prefix)
This article or section is a stub. Please help the Doom Wiki by adding to it. |
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:
Frame number | Doom internal name | Use |
---|---|---|
6 | S_PUNCH2 | attack animation for the Fists |
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