Thing_Destroy
Kills the specified thing. If you have a TID of 0, then it will kill all the monsters on the map, similar to the “kill monsters” cheat. If extreme is 1, the thing enters its extreme (gib) death sequence if it exists. If tag is not zero, the special will only kill monsters in the tagged sectors.
133:Thing_Destroy (tid, extreme, tag)
- tid: Thing ID of the thing to destroy
- extreme: Inflicts extreme damage (gib death)
- tag: Only affects things in tagged sectors
Note that this function does not properly handle killing players with armor or more than 100% health if extreme is 0.
Examples
![]() |
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. |
External links
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.