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

1416006136 (talk | contribs) mNo edit summary |
(added note on how to force crouching at any times) |
||
Line 2: | Line 2: | ||
{{CD|CTriggerAutoCrouch|file1=triggers.cpp}} | {{CD|CTriggerAutoCrouch|file1=triggers.cpp}} | ||
{{entity|trigger_auto_crouch|type=e2|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. | {{entity|trigger_auto_crouch|type=e2|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}}}} | ||
{{ModernNote|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.}} | |||
== Keyvalues == | == Keyvalues == |
Revision as of 06:36, 27 April 2023


![]() |
---|
CTriggerAutoCrouch |
![]() |
Template:Entity 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 Template:ModernNote
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
|