Teledeath (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
Line 1: Line 1:
{{ent not in fgd|nolink=1|because=it gets deleted after it first [[think]]s}}
{{ent not in fgd|nolink=1|because=it gets deleted after it first [[think]]s}}
{{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}} The "telefrag" effect from a {{ent|trigger_teleport|engine=goldsrc}}. 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}}, whose bounding box is {{code|(-16, -16, -36)(16, 16, 36)}}, the size of the trigger will be {{code|(-17, -17, -37)(17, 17, 37)}}.
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}}, whose bounding box is {{code|(-16, -16, -36)(16, 16, 36)}}, the size of the trigger will be {{code|(-17, -17, -37)(17, 17, 37)}}.

Latest revision as of 12:15, 10 May 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. The "telefrag" effect from a trigger_teleport. 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, whose bounding box is (-16, -16, -36)(16, 16, 36), the size of the trigger will be (-17, -17, -37)(17, 17, 37).