A_BFGsound

From DoomWiki.org

A_BFGsound starts playing the BFG firing sound several tics before the BFG ball is actually fired.

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

A_BFGsound just plays the DSBFG sound effect (the BFG's long "warm up and fire" sound effect). The sound origin is the player firing the weapon.

Uses[edit]

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

Pointer 21 (Frame 34)
Codep Frame = 84

Or using BEX syntax:

[CODEPTR]
Frame 1234 = BFGsound

External links[edit]