A_FireBFG
From DoomWiki.org
A_FireBFG is a code pointer used in the attack animation for the BFG9000.
Contents
Uses[edit]
The A_FireBFG code pointer appears in the following states in Doom's state table:
| Frame number | Doom internal name | Use |
|---|---|---|
| 86 | S_BFG3 | attack animation for the BFG9000 |
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.
