A_FireBFG

From ZDoom Wiki
Jump to: navigation, search

A_FireBFG

(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_FireCustomMissile("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