A_XScream

From ZDoom Wiki
Jump to: navigation, search
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.
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