A_CyberAttack

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.

Contents

UsesEdit

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

ExampleEdit

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:

[CODEPTR]
Frame 1234 = CyberAttack

Code structureEdit

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 alsoEdit

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

External linksEdit