Killtarget

From Valve Developer Community
Jump to navigation Jump to search
edit

Stub

This article or section is a stub. You can help by expanding it.

killtarget is a KV in many id Tech 2 id Tech 2 and GoldSrc GoldSrc entities. It removes the named entity from play, and deletes its associated edict. This is known as "killtargeting".

Cpp.pngCode:To kill entities via code use REMOVE_ENTITY. It will kill the entity on the subsequent tick.