Trigger auto crouch: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(added l4d2 to bug note)
(-works just fine in l4d2 updated description, removed less relevant info)
Line 1: Line 1:
{{base brush|trigger_auto_crouch|since=Left 4 Dead}} It allows players touching the trigger to auto-crouch.
{{base brush|trigger_auto_crouch|since=Left 4 Dead}} If a player is near a place where he needs to crouch this trigger will do that automatically for him.
{{Bug|Non-functional in {{csgo}} and {{l4d2}}.}}
{{Bug|Non-functional in {{csgo}}{{confirm}}}}


== Keyvalues ==
== Keyvalues ==
{{KV Trigger}}
{{KV Targetname}}


== Flags ==
== Flags ==
{{Fl Trigger}}
{{Fl Trigger}}
== Inputs ==
{{I Trigger}}
== Outputs ==
{{O Trigger}}

Revision as of 03:58, 6 October 2022

Template:Base brush If a player is near a place where he needs to crouch this trigger will do that automatically for him.

Icon-Bug.pngBug:Non-functional in Counter-Strike: Global Offensive[confirm]  [todo tested in ?]

Keyvalues

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

Flags

BaseTrigger
Everything (not including physics debris) : [64]
Clients (Survivors, Special Infected, Tanks Left 4 Dead seriesLeft 4 Dead series) : [1]
Only clients in vehicles : [32]
Only clients *not* in vehicles : [512]
Disallow Bots (removed since Left 4 Dead) : [4096]
NPCs (Common Infected, Witches Left 4 Dead seriesLeft 4 Dead series) : [2]
Only player ally NPCs : [16]
Only NPCs in vehicles (respects player ally flag) : [2048]
Physics Objects (not including physics debris) : [8]
Physics debris (include also physics debris) : [1024]
Pushables (Passes entities with classname func_pushable) : [4] Obsolete
Deprecated.
Equivalent to using Everything + filter_activator_class that filters func_pushable.