ExplodeMissile

From ZDoom Wiki
Jump to navigation Jump to search
Note: This feature is for ZScript only.


void ExplodeMissile([line lin[, Actor target[, bool onsky]]])

Usage

Makes the actor explode like a missile does when it hits something, including settings its appropriate state, settings its pointers based on its flags, spraying decals, etc. Most often used with actors that have the MISSILE flag set.

Parameters

  • lin - Default is null. The line that was hit causing the explosion.
  • target - Default is null. The actor that was hit causing the explosion.
  • onsky - Default is false. If true, consider the actor to have hit the sky.

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.