Thing_Destroy — kills an actor
Thing_Destroy (tid, bExtreme);
Thing_Destroy ( tid, // Thing ID of the thing(s) to destroy bExtreme // Whether or not a monster will experience an extreme death );
This special's function is the same whether you activate it on a line or use it in a script.
This specials kills monsters and anything else that takes damage (such as some of the trees in Hexen). If you just want to remove something from the map without making a spectacle of it, you can use Thing_Remove instead.
Kill everything with the TID 66:
Gib everything with the TID 66:
Thing_Destroy (66, 1);
ZDoom 1.23 beta 26 added bDestroy