A_ImpExplode

From ZDoom Wiki
Revision as of 17:56, 10 August 2009 by Gez (talk | contribs) (Created page with '{{DISPLAYTITLE:A_ImpExplode}} '''A_ImpExplode'''<br /> (no parameters) Clears the calling actor's NOGRAVITY flag and spawns two gib chunks, a {{Class|HereticImpChunk1}} and a {{…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.