Difference between revisions of "A XScream"

From DoomWiki.org

[checked revision][checked revision]
(add some more detail)
(add an illustration!)
Line 1: Line 1:
 
{{DISPLAYTITLE:A_XScream}}
 
{{DISPLAYTITLE:A_XScream}}
 +
[[File:Doom gibs.png|thumb|right|<code>A_XScream</code> is invoked when monsters gib.]]
 
'''A_XScream''' is a [[code pointer]] used in the explode animation for the [[Player]] and various monsters.
 
'''A_XScream''' is a [[code pointer]] used in the explode animation for the [[Player]] and various monsters.
  

Revision as of 22:25, 16 March 2020

A_XScream is invoked when monsters gib.

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:

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

External links