Trigger auto crouch: Difference between revisions
Jump to navigation
Jump to search

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.
Thunder4ik (talk | contribs) m (clean up, replaced: See Also → See also, {{ModernNote| → {{note|) |
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
||
Line 1: | Line 1: | ||
{{lang|Trigger auto crouch}} | <!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Trigger auto crouch}}{{CD|CTriggerAutoCrouch|file1=triggers.cpp}} | ||
{{CD|CTriggerAutoCrouch|file1=triggers.cpp}} | {{this is a|e2|name=trigger_auto_crouch|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. | ||
{{ | |||
{{ModernBug|Non-functional in {{csgo}}{{confirm}}}} | {{ModernBug|Non-functional in {{csgo}}{{confirm}}}} | ||
{{note|If you want a trigger to force crouching no matter what, use {{ent|trigger_playermovement}} using the "Auto-duck while in trigger" and the "Disable auto player movement" flags.}} | {{note|If you want a trigger to force crouching no matter what, use {{ent|trigger_playermovement}} using the "Auto-duck while in trigger" and the "Disable auto player movement" flags.}} |
Revision as of 13:07, 4 January 2024


![]() |
---|
CTriggerAutoCrouch |
![]() |
trigger_auto_crouch
is an e2 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.
Template:ModernBug

Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Flags
|