From DoomWiki.org

Zombies randomly play one of three different sound effects when A_Scream is invoked

A_Scream is a code pointer used in the death animation for various monsters.

A_Scream's main purpose is to play the monster's death sound. However, it includes a few minor tweaks:

  • monsters using the zombie death sounds (DSPODTH1, DSPODTH2, DSPODTH3) will randomly pick one of the three. This ensures variation as not all zombies sound the same when they die;
  • imps will randomly play DSBGDTH1 or DSBGDTH2 for the same reason;
  • the cyberdemon and spiderdemon play their death sound effects at full volume when they die.


The A_Scream code pointer appears in the following states in Doom's state table:


The following is an example of how to set the A_Scream code pointer in a DeHackEd file:

Pointer 21 (Frame 34)
Codep Frame = 809

Or using BEX syntax:

Frame 1234 = Scream

External links[edit]