From DoomWiki.org

Revision as of 12:51, 3 January 2024 by Fraggle (talk | contribs) (I think we can call this no longer a stub)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.


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


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:

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]