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

Bug:Non-functional in
[confirm] [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 ?]
mNo 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}} 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}}{{confirm}}}} | {{bug|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 23:32, 13 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
|