A_HeadAttack

From DoomWiki.org

Under construction icon-yellow.svgThis 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.

Uses[edit]

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

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]