A_BFGSound
Jump to navigation
Jump to search
action void A_FireBFG()
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 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;
ZScript definition
Note: The ZScript definition below is for reference and may be different in the current version of GZDoom.The most up-to-date version of this code can be found on GZDoom GitHub. |
action void A_BFGsound()
{
A_StartSound("weapons/bfgf", CHAN_WEAPON);
}