A_FireCGun
From DoomWiki.org
A_FireCGun is a code pointer used in the attack animation for the chaingun.
Contents
Uses[edit]
The A_FireCGun
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
52 | S_CHAIN1 | attack animation for the chaingun |
53 | S_CHAIN2 | attack animation for the chaingun |
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]
- A_FireCGun in the Doom source code.
- A_FireCGun at the ZDoom wiki
- FireCGun at the Eternity Engine wiki