A_CorpseExplode

Spawns between four and seven CorpseBit actors, all with random horizontal velocities between -4 and +4 on both X and Y axes, and a random vertical velocity between 3.75 and 9. One of the corpse bits will be put in its Spawn+3 state (corresponding normally to the corpse's head), the rest are randomly put in Spawn, Spawn+1 or Spawn+2.

A_CorpseExplode
(no parameters)

The function then plays the calling actor's death sound, and destroys it, so any state after a call to this function will never be run.

This codepointer is restricted to ZCorpseSitting and derived classes.

This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.