A_XScream
From DoomWiki.org
A_XScream is a code pointer used in the explode animation for the Player and various monsters.
A_XScream
just plays the sound effect DSSLOP (the gib/exploding corpse sound).
Uses
The A_XScream
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
166 | S_PLAY_XDIE2 | explode animation for the Player |
195 | S_POSS_XDIE2 | explode animation for the Trooper |
228 | S_SPOS_XDIE2 | explode animation for the Sargeant |
430 | S_CPOS_XDIE2 | explode animation for the Chaingun Sargeant |
463 | S_TROO_XDIE2 | explode animation for the Imp |
750 | S_SSWV_XDIE2 | explode animation for the SS Nazi |
Example
The following is an example of how to set the A_XScream
code pointer in a Dehacked file:
Pointer 21 (Frame 34) Codep Frame = 750
Or using BEX syntax:
[CODEPTR] Frame 1234 = XScream