From DoomWiki.org

Under construction icon-yellow.svgThis article or section is a stub. Please help the Doom Wiki by adding to it.

A_CyberAttack is a code pointer used in the attack animation for the cyberdemon.


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


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

Pointer 21 (Frame 34)
Codep Frame = 689

Or using BEX syntax:

Frame 1234 = CyberAttack

Code structure[edit]

A_CyberAttack's code structure is very simple. It calls A_FaceTarget and then uses the P_SpawnMissile function to fire the rocket. There are similarities with A_FireMissile although some of the code paths are different.

A CyberAttack call graph.svg

See also[edit]

  • A_FireMissile - weapon code pointer used by the player to launch rockets

External links[edit]