Killtarget: Difference between revisions
Jump to navigation
Jump to search
Code:To kill entities via code use REMOVE_ENTITY. It will kill the entity on the subsequent tick.
mNo edit summary |
(split) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{TabsBar|main=Kill}} | |||
{{stub}} | {{stub}} | ||
{{code|killtarget}} is a [[KV]] in many {{idtech2|2}} and {{goldsrc|2}} entities. It removes the named entity from play, and deletes its associated [[edict]]. This is known as "killtargeting". | {{code|killtarget}} is a [[KV]] in many {{idtech2|2}} and {{goldsrc|2}} entities. It removes the named entity from play, and deletes its associated [[edict]]. This is known as "killtargeting". | ||
{{Codenote|To kill entities via code use {{ent|REMOVE_ENTITY}}. It will kill the entity on the subsequent tick.}} | |||
[[Category:Glossary]] | [[Category:Glossary]] | ||
[[Category:GoldSrc Glossary]] | [[Category:GoldSrc Glossary]] |
Latest revision as of 11:46, 17 March 2025
killtarget is a KV in many id Tech 2 and
GoldSrc entities. It removes the named entity from play, and deletes its associated edict. This is known as "killtargeting".
