A_XScream

From ZDoom Wiki
Jump to navigation Jump to search
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.
DoomWiki.org
For more information on this article, visit the A_XScream page on the Doom Wiki.

A_XScream

(no parameters)

Plays the *gibbed player sound if called by a player, otherwise it plays misc/gibbed. The sound is played on the voice channel.

Examples

XDeath:
   POSS M 5
   POSS N 5 A_XScream
   POSS O 5 A_NoBlocking
   POSS PQRST 5
   POSS U -1
   stop

This is the XDeath state for Doom's ZombieMan