A_FireBFG

From ZDoom Wiki
Jump to navigation Jump to search

A_FireBFG

DoomWiki.org
For more information on this article, visit the A_FireBFG page on the Doom Wiki.


(no parameters)

Usage

Fires a BFGBall from the current weapon.

Autoaim is disabled by default through the "Allow BFG aiming" DMFlag. This can be circumvented by spawning it manually:

   A_FireProjectile("BFGBall", 0, 1)

Examples

This is taken directly from the BFG9000.

 Fire:
   BFGG A 20 A_BFGSound
   BFGG B 10 A_GunFlash
   BFGG B 10 A_FireBFG
   BFGG B 20 A_ReFire
   Goto Ready