A_CPosAttack
From DoomWiki.org
![]() | This article or section is a stub. Please help the Doom Wiki by adding to it. |
A_CPosAttack is a code pointer used in the attack animation for the SS Nazi and Chaingun Sargeant.
Uses[edit]
The A_CPosAttack
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
417 | S_CPOS_ATK2 | attack animation for the Chaingun Sargeant |
418 | S_CPOS_ATK3 | attack animation for the Chaingun Sargeant |
738 | S_SSWV_ATK3 | attack animation for the SS Nazi |
740 | S_SSWV_ATK5 | attack animation for the SS Nazi |
Example[edit]
The following is an example of how to set the A_CPosAttack
code pointer in a Dehacked file:
Pointer 21 (Frame 34) Codep Frame = 740
Or using BEX syntax:
[CODEPTR] Frame 1234 = CPosAttack
External links[edit]
- A_CPosAttack in the Doom source code.
- A_CPosAttack at the ZDoom wiki
- CPosAttack at the Eternity Engine wiki