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

Bug:Non-functional in
Counter-Strike: Global Offensive and
Black Mesa. [todo tested in ?]
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.
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. [todo tested in ?]
MyGamepedia (talk | contribs) No edit summary |
MyGamepedia (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<!-- 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}} | <!-- 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}} | ||
{{this is a|e2|name=trigger_auto_crouch|since=Left 4 Dead}} It is also avaible in {{bms|4}}. 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. | {{this is a|e2|name=trigger_auto_crouch|since=Left 4 Dead}} It is also avaible in {{bms|4}}. 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 {{csgo}}{{ | {{bug|Non-functional in {{csgo|4}} and {{bms|4}}.}} | ||
{{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.}} | ||
{{bug|In {{l4ds|4}} 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}} | {{bug|In {{l4ds|4}} 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.}} | ||
== Keyvalues == | == Keyvalues == | ||
Line 10: | Line 10: | ||
== Flags == | == Flags == | ||
{{Fl Trigger}} | {{Fl Trigger}} | ||
==Inputs== | |||
{{I Targetname}} | |||
{{I Trigger}} | |||
==Outputs== | |||
{{O Trigger}} | |||
== See also == | == See also == | ||
* [[trigger_playermovement]] | * [[trigger_playermovement]] | ||
* [[point_playermoveconstraint]] | * [[point_playermoveconstraint]] |
Revision as of 04:14, 14 May 2024


![]() |
---|
CTriggerAutoCrouch |
![]() |
trigger_auto_crouch
is an e2 available in all Source games since
Left 4 Dead. It is also avaible 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.







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
|
Inputs
|
Outputs
|