A_ImpExplode

From ZDoom Wiki
Jump to navigation Jump to search

A_ImpExplode
(no parameters)

Clears the calling actor's NOGRAVITY flag and spawns two gib chunks, a HereticImpChunk1 and a HereticImpChunk2, both with random horizontal velocities between -4 and +4 on both X and Y axes, and a vertical velocity of 9.

If the calling actor's special flag is set to 666 (as A_ImpXDeath1 does), puts it in its XCrash state.

This codepointer is restricted to HereticImp and derived classes.