A_PlayWeaponSound
Jump to navigation
Jump to search
void A_PlayWeaponSound (sound whattoplay)
![]() |
Warning: The feature described on this page has been deprecated, and will no longer be supported or updated by the GZDoom developers. While some functionality may be retained for the purposes of backwards-compatibility, authors are strongly discouraged from utilizing this feature in future projects and to instead use A_StartSound. Compatibility with future GZDoom versions is not guaranteed. |
Plays the specified sound but uses the weapon channel. Sounds started with this function do not interfere with sounds played with A_StartSound, unless CHAN_WEAPON is passed as the used channel.