Kill: Difference between revisions
Jump to navigation
Jump to search
Code:To kill entities via code use UTIL_Remove. This will kill the entity on the subsequent tick.
(split) Tag: Removed redirect |
No edit summary |
||
Line 5: | Line 5: | ||
{{Codenote|To kill entities via code use {{ent|UTIL_Remove}}. This will kill the entity on the subsequent tick.}} | {{Codenote|To kill entities via code use {{ent|UTIL_Remove}}. This will kill the entity on the subsequent tick.}} | ||
== See also == | |||
* [https://github.com/ValveSoftware/source-sdk-2013/blob/a62efecf624923d3bacc67b8ee4b7f8a9855abfd/src/game/server/baseentity.cpp#L4623 InputKill definition] | |||
[[Category:Glossary]] | [[Category:Glossary]] |
Revision as of 11:49, 17 March 2025
It's an input that removes the named entity from play, and deletes its associated edict. An entity's children can be killed in the same tick by sending the KillHierarchy input instead, otherwise they will be killed on a subsequent tick.
