Trigger hurt ghost: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{LanguageBar}}
{{CD|CTriggerHurtGhost}}
{{CD|CTriggerHurtGhost}}
{{this is a|brush entity|name=trigger_hurt_ghost|series=Left 4 Dead}} It is a [[trigger]] volume that damages [[entity|entities]] that touch it. It behaves exactly as [[trigger_hurt]] in addition to being able to hurt ghosts.
{{This is a|brush entity|name=trigger_hurt_ghost|series=Left 4 Dead|sprite=Toolstrigger.gif}} It is a [[triggers|trigger]] volume that damages [[entity|entities]] that touch it. It behaves exactly as {{ent|trigger_hurt}} in addition to being able to hurt ghosts.


See [[damage types]] for a list on how different damage types will affect the [[player]].
See [[damage types]] for a list on how different damage types will affect the {{ent|player}}.
{{Important|To hurt infected ghosts, Damage Type 32 (DMG_FALL) must be chosen}}
{{Important|To hurt infected ghosts, Damage Type 32 (DMG_FALL) must be chosen}}
{{Note|Some damage types like '''Generic''' only deal 50% damage, others like '''Fall''' deal 100% damage. This might differ in various games.}}
{{Warning|In its enabled state the entity marks all [[Navigation Meshes|navigation mesh areas]] in its [[AABB]] or atmost 72 units below or atmost 16 units to the sides as damaging even if the <code>damage</code> is negative.


Damaging areas are marked with a dark blue rectangle and survivor [[bot]]s will try to avoid them, whilst Jockeys riding a survivor will actively steer towards it.}}
{{Note|Any other info that applies to <code>trigger_hurt</code> also applies here}}
{{Note|<code>damageforce</code> and <code>thinkalways</code> keyvalues and FULLGIB Damage Type choice are missing from fgd}}
{{OtherKIO|trigger_hurt|All}}


{{:trigger_hurt}}
==See also==
==See also==
* [[trigger_hurt]]
* {{ent|trigger_hurt}}


{{sensor_brush}}
{{sensor_brush}}

Revision as of 02:27, 24 September 2024

English (en)Translate (Translate)
C++ Class hierarchy
CTriggerHurtGhost
CTriggerHurt
CBaseTrigger
CBaseToggle
CBaseEntity
Toolstrigger.gif

trigger_hurt_ghost is a brush entity available in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series. It is a trigger volume that damages entities that touch it. It behaves exactly as trigger_hurt in addition to being able to hurt ghosts.

See damage types for a list on how different damage types will affect the player.

Icon-Important.pngImportant:To hurt infected ghosts, Damage Type 32 (DMG_FALL) must be chosen
Note.pngNote:Any other info that applies to trigger_hurt also applies here
Note.pngNote:All Keyvalues / Inputs / Outputs are same as trigger_hurt.

See also