Trigger teleport (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
Note:target acts as the teleport destination, in addition to being triggered when the teleport occurs.
(trigger_teleport (GoldSrc)) |
SirYodaJedi (talk | contribs) (→Flags) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{tabsBar|main=gs2|base=trigger_teleport}} | ||
{{this is a|brush entity|name=trigger_teleport|engine=GoldSrc}} This entity teleports entities that touch its volume. | |||
In some games, such as {{dmc|2}}, players and monsters who are within the teleport destination get telefragged. | |||
== Key Values == | == Key Values == | ||
{{note|{{mono|target}} acts as the teleport destination, in addition to being triggered when the teleport occurs.}} | |||
{{Hl1 kv trigger}} | {{Hl1 kv trigger}} | ||
{{expand|title={{tfc|only}}| | |||
{{Tfc kv buttoncriteria}} | {{Tfc kv buttoncriteria}} | ||
{{Tfc kv operat2}} | {{Tfc kv operat2}} | ||
Line 11: | Line 14: | ||
{{Tfc kv effects3}} | {{Tfc kv effects3}} | ||
{{Tfc kv effects5}} | {{Tfc kv effects5}} | ||
}} | |||
==Flags== | ==Flags== | ||
{{fl|1|Monsters|not={{TFC| | {{fl|1|Monsters|not={{TFC}}{{dmc}}}} | ||
{{fl|2|No clients}} | {{fl|1|Players only|only={{dmc}}}} | ||
{{fl|2|No clients|not={{dmc}}}} | |||
{{fl|2|Silent|only={{dmc}}|Don't play an ambient humming sound when near this entity.}} | |||
{{fl|4|Pushables}} | {{fl|4|Pushables}} | ||
{{hl1 Appearflags}} | |||
== See also == | |||
* {{ent|teledeath|engine=goldsrc}} - Entity which handles telefragging | |||
[[Category:Half-Life Entities]] | [[Category:Half-Life Entities]] |
Latest revision as of 14:15, 29 April 2025
trigger_teleport
is a brush entity available in all GoldSrc games. This entity teleports entities that touch its volume.
In some games, such as Deathmatch Classic, players and monsters who are within the teleport destination get telefragged.
Key Values

- Name (targetname) <string>
- The targetname that other entities refer to this entity by.
Trigger:
- Target (target) <targetname>
- The targetname of an entity this entity will trigger when activated.
- Delay before trigger (delay) <integer>
- Delay in seconds before firing the targeted entity.
- Killtarget (killtarget) <targetname>
- Entity to remove when activated.
- Target Path (netname) <targetname> (not in
)
- Target path.
- Master (master) <targetname>
- Name of a master entity. If the master hasn't been activated, this entity will not activate.
- Sound Style (sounds) <choices>
-
- 0 : "No Sound"
- Message (set sound too!) (message) <string>
- Message to be shown.
TFButtonCriteria:
TFOperat2:
TFEffects1:
TFEffects2:
TFEffects3:
TFEffects5:
![]() ![]()
|
Flags
- Pushables : [4]
- Not In Deathmatch : [2048]
- Prevent this entity from attempting to spawn when deathmatch (multiplayer) is enabled.
Tip:This is intercepted before the entity spawns (hardcoded in the engine), and as such prevents it from ever contributing to the edict limit. As such, it may be desirable to set this on entities that delete themselves in multiplayer anyway, such as monsters and info_null, to prevent them from contributing towards map spawn edict limit crashes on maps with lots of entities.
See also
- teledeath - Entity which handles telefragging