A_PlayWeaponSound

From ZDoom Wiki
Revision as of 21:08, 17 June 2020 by Blue Shadow (talk | contribs) (depreaction notice)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

void A_PlayWeaponSound (sound whattoplay)


Nuvolabomb.png 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.