A_HeadAttack
From DoomWiki.org
This article or section is a stub. Please help the Doom Wiki by adding to it. |
A_HeadAttack is a code pointer used in the attack animation for the cacodemon.
Contents
Uses[edit]
The A_HeadAttack
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
506 | S_HEAD_ATK3 | attack animation for the cacodemon |
Example[edit]
The following is an example of how to set the A_HeadAttack
code pointer in a DeHackEd file:
Pointer 21 (Frame 34) Codep Frame = 506
Or using BEX syntax:
[CODEPTR] Frame 1234 = HeadAttack
Code structure[edit]
The cacodemon has the same kind of attacks as the imp, so the code structure for A_HeadAttack
is almost identical to A_TroopAttack.
External links[edit]
- A_HeadAttack in the Doom source code.
- A_HeadAttack at the ZDoom wiki
- HeadAttack at the Eternity Engine wiki