A_FireCGun

From DoomWiki.org

Chaingun being fired. A_FireCGun is the code pointer that inflicts damage as part of the firing animation.

A_FireCGun is a code pointer used in the attack animation for the chaingun.

Uses[edit]

The A_FireCGun 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_FireCGun code pointer in a DeHackEd file:

Pointer 21 (Frame 34)
Codep Frame = 53

Or using BEX syntax:

[CODEPTR]
Frame 1234 = FireCGun

Code structure[edit]

The code structure of A_FireCGun is largely identical to that of A_FirePistol with some minor differences relating to the chaingun's animation.

External links[edit]