From DoomWiki.org

A_PlayerScream is a code pointer used in the death animation for the player.

This code pointer plays the DSPLDETH sound effect, unless the player took enough damage to have had less than -50 health on death (e.g. through being hit by a rocket), in which case DSPDIEHI is played instead.


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


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

Pointer 21 (Frame 34)
Codep Frame = 159

Or using BEX syntax:

Frame 1234 = PlayerScream

External links[edit]