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[edit]
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 zombieman |
228 | S_SPOS_XDIE2 | explode animation for the shotgun guy |
430 | S_CPOS_XDIE2 | explode animation for the heavy weapon dude |
463 | S_TROO_XDIE2 | explode animation for the imp |
750 | S_SSWV_XDIE2 | explode animation for the Wolfenstein SS |
Example[edit]
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