A_BFGSound
A_BFGSound
(no parameters)
Note: This function has been superseded by A_StartSound, which duplicates and extends its functionality. Use of the newer function is advised in order to maintain maximum flexibility in your code. |
Usage
Plays the sound "weapons/bfgf".
Examples
This is an excerpt from the BFG9000 code, unrelated sections snipped out. In the firing sequence. A_BFGSound is called to play the famous BFG charging sound.
actor BFG9000 : DoomWeapon 2006 { ... States { ... Fire: BFGG A 20 A_BFGSound BFGG B 10 A_GunFlash BFGG B 10 A_FireBFG BFGG B 20 A_ReFire goto Ready ... } }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.