A_PlayerScream

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.

Uses[edit]

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

Example[edit]

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:

[CODEPTR]
Frame 1234 = PlayerScream

External links[edit]