Teledeath (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Blasted preset periods)
No edit summary
Line 2: Line 2:
{{CD|CTeleDeath|goldsrc=1}}
{{CD|CTeleDeath|goldsrc=1}}
{{this is a|entity|name=teledeath|game=Deathmatch Classic}} It deals 1000 generic damage and [[gib]]s any players or entities with non-zero {{mono|[[health]]}}, then [[killtarget|deletes itself]]. Created automatically when a {{ent|trigger_teleport|engine=goldsrc}} is triggered.
{{this is a|entity|name=teledeath|game=Deathmatch Classic}} It deals 1000 generic damage and [[gib]]s any players or entities with non-zero {{mono|[[health]]}}, then [[killtarget|deletes itself]]. Created automatically when a {{ent|trigger_teleport|engine=goldsrc}} is triggered.
The size of the {{mono|teledeath}} trigger is expanded outwards one unit compared to the bounding box of the teleporting entity. For example, if teleporting a {{ent|player|engine=goldsrc}}, who's bounding box is {{code|(-16, -16, -36)(16, 16, 36)}}, the size of the trigger will be {{code|(-17, -17, -37)(17, 17, 37)}}.

Revision as of 14:05, 29 April 2025

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it gets deleted after it first thinks.
C++ Class hierarchy
CTeleDeath
CBaseTrigger
CBaseToggle
CBaseAnimating
CBaseDelay
CBaseEntity
C++ triggers.cpp

teledeath is an entity available in Deathmatch Classic Deathmatch Classic. It deals 1000 generic damage and gibs any players or entities with non-zero health, then deletes itself. Created automatically when a trigger_teleport is triggered.

The size of the teledeath trigger is expanded outwards one unit compared to the bounding box of the teleporting entity. For example, if teleporting a player, who's bounding box is (-16, -16, -36)(16, 16, 36), the size of the trigger will be (-17, -17, -37)(17, 17, 37).