db_trigger_checkpoint

From Valve Developer Community
Jump to: navigation, search


Entity Description

Sets the latest checkpoint. It is a brush-based entity and must be used with the tools/toolstrigger texture.

Keyvalues

BaseTrigger
Filter Name (filtername) <filter>
A filter entity to test potential activators against.
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
  • Respawn point
Use a target type entity (i.e. info landmark, info teleport destination, info target, etc) (can be parented). Leave empty for info_player_start.

Flags

BaseTrigger

Everything (not including physics debris) : [64]

Clients (Survivors, Special Infected, Tanks Left 4 Dead series) : [1]

Only clients in vehicles : [32]
Only clients *not* in vehicles : [512]
Disallow Bots (removed since Left 4 Dead) : [4096]

NPCs (Common Infected, Witches Left 4 Dead series) : [2]

Only player ally NPCs : [16]
Only NPCs in vehicles (respects player ally flag) : [2048]

Physics Objects (not including physics debris) : [8]

Physics debris (include also physics debris) : [1024]

Pushables (Passes entities with classname func_pushable) : [4] Obsolete

Deprecated.
Equivalent to using Everything + filter_activator_class that filters func_pushable.


Inputs

  • BaseTrigger:
Toggle
Toggles this trigger between enabled and disabled states.
Enable
Enable trigger
Disable
Disable trigger

Outputs

Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
!activator = activator
  • OnStartTouch
Fired when an entity starts touching this trigger. The touching entity must pass this trigger's filters to cause this output to fire.
!activator = toucher
  • OnEndTouch
Fired when an entity stops touching this trigger. Only entities that passed this trigger's filters will cause this output to fire.
!activator = exiting entity
  • OnRespawnUsed
Fired when the player respawns with this trigger.

See also