trigger_escape
Jump to navigation
Jump to search
Code classes:
CTriggerEscape
CBaseTrigger
(triggers)CBaseToggle
CBaseEntity
(all ents)
trigger_escape
is a brush entity present in both Left 4 Dead games. It detects if a survivor is inside it or not. Used in The Sacrifice to know if the finale can be completed or not. The entity should cover the inside space of an escape vehicle. To do: There seems to be other components involved in checking if a sacrifice finale is possible, such as counting the number of alive players at any point in time. Some of these seem to help with the outputs working as well, because when tested, the outputs did not fire in an isolated map. Find out what they are. This entity seems to actually only contribute a very small part of the logic if any.
Outputs[edit | edit source]
- OnEscapePossible
- Fires if there is at least 1 survivor standing in the trigger.
- OnEscapeImpossible
- Fires if there are no survivors standing in the trigger.