A_PlayWeaponSound

From ZDoom Wiki
Jump to: navigation, search

A_PlayWeaponSound (string whattoplay)

Note: This function has been superseded by A_PlaySound, which duplicates and extends its functionality. Use of the newer function is advised in order to maintain maximum flexibility in your code.


Plays the specified sound but uses the weapon channel. Sounds started with A_PlayWeaponSound do not interfere with sounds played with A_PlaySound, unless CHAN_WEAPON is passed as the used channel.