A_VolcBallImpact

From ZDoom Wiki
Jump to navigation Jump to search

A_VolcBallImpact
(no parameter)

If the calling actor is under the floor, it is raised by 28 units and given the NOGRAVITY flag. (This is presumably a leftover from a hack used by Raven Software to work around their terrain clipping bug, the same that was responsible for the minotaur floorfire bug.)

This creates a small explosion, equivalent to A_Explode(25, 25, true) that deals fire damage. The calling actor's target, if any, is considered responsible for the damage inflicted. It then spawns four VolcanoTBlast actors and sends them on each cardinal direction with a horizontal velocity of 0.7 and a random vertical velocity between 0 and 2.

This codepointer is restricted to VolcanoBlast and derived classes.

Examples

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.