Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
trigger_auto_crouch
...
class hierarchy |
---|
CTriggerAutoCrouch defined in triggers.cpp
|
trigger_auto_crouch
is a brush entity available in all Source games since Left 4 Dead. It is also available in Black Mesa. 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.
Bug:Non-functional in Counter-Strike: Global Offensive and Black Mesa.
Bug:In Left 4 Dead series if a player is incapacitated in this trigger while the round restarts the auto crouch behavior will remain until they touch and leave an auto crouch trigger again.
Note:If you want a trigger to force crouching no matter what, use
trigger_playermovement
using the "Auto-duck while in trigger" and the "Disable auto player movement" flags.Flags
- Note:Any other flags are irrelevant for this trigger