A_FireBFG

From DoomWiki.org

BFG ball that has just been spawned by A_FireBFG as part of the BFG firing animation.

A_FireBFG is a code pointer used in the attack animation for the BFG9000.

Uses[edit]

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

Pointer 21 (Frame 34)
Codep Frame = 86

Or using BEX syntax:

[CODEPTR]
Frame 1234 = FireBFG

Code structure[edit]

A_FireBFG uses the P_SpawnPlayerMissile function and so its code structure is largely identical to that of A_FireMissile.

External links[edit]