ZDoom Line Specials

132:Thing_Remove

Name

Thing_Remove — removes an actor from the map.

Synopsis

Thing_Remove (tid);
Thing_Remove (
  tid        // Thing ID of the thing(s) to remove
);

Parameters

tid
All actors with this TID will be removed.

ACS

This special's function is the same whether you activate it on a line or use it in a script.

Remarks

When you remove an actor from the map with this special, it is silently and completely removed from the map. It does not leave any trace of itself behind, as it would if it had died. If you simply want to kill a monster, use Thing_Destroy instead.

For reasons that should be obvious, you must not use Thing_Remove to remove a player.

Example

Remove everything with the TID 66:

Thing_Remove (66);

First Available In

Hexen

See Also

Thing_Destroy