|Note: This feature is for ZScript only.|
void ExplodeMissile([line lin[, Actor target[, bool onsky]]])
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.
- 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.
|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. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.|