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:
Frame number | Doom internal name | Use |
---|---|---|
159 | S_PLAY_DIE2 | death animation for the player |
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]
- A_PlayerScream in the Doom source code.
- A_PlayerScream at the ZDoom wiki
- PlayerScream at the Eternity Engine wiki