ExplodeMissile

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


Actor

void ExplodeMissile(line lin = null, Actor target = null, bool onsky = false)

Usage

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

Parameters

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

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.