trigger_auto_crouch


... 

![]() |
---|
CTriggerAutoCrouch defined in ![]() triggers.cpp
|
trigger_auto_crouch
is a brush entity available in all Source games since
Left 4 Dead. If a player is touching this trigger's brush and is near a place where they can crouch under an obstacle this trigger will make the player crouch automatically.

trigger_playermovement
using the "Auto-duck while in trigger" and the "Disable auto player movement" flags.Keyvalues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
Flags
BaseTrigger:
- [
4
] : func_pushable
- [
8
] : Physics Objects
- [
16
] : Only player ally NPCs
- [
32
] : Only clients in vehicles
- [
64
] : Everything (not including physics debris)
- [
512
] : Only clients *not* in vehicles
- [
1024
] : Physics debris
- [
2048
] : Only NPCs in vehicles (respects player ally flag)
- [
4096
] : Disallow Bots