Trigger serverragdoll: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{CD|CServerRagdollTrigger|file1=triggers.cpp}}
{{CD|CServerRagdollTrigger|file1=triggers.cpp}}
{{base brush|trigger_serverragdoll}} It is a volume that forces any NPC inside it to create a server side ragdoll instead of a client one.
{{entity|trigger_serverragdoll|type=e2|game=Team Fortress 2}} It is a volume that forces any NPC inside it to create a server side ragdoll instead of a client one.


{{tip|These triggers can be used to fix undesirable cases where the ragdoll of a dead enemy falls ''through'' the ground, such as when combat occurs on top of a [[func_breakable]] or [[func_physbox]].  Simply surround the area in question with one of these triggers.}}
{{tip|These triggers can be used to fix undesirable cases where the ragdoll of a dead enemy falls ''through'' the ground, such as when combat occurs on top of a [[func_breakable]] or [[func_physbox]].  Simply surround the area in question with one of these triggers.}}

Revision as of 07:50, 24 January 2023

C++ Class hierarchy
CServerRagdollTrigger
CBaseTrigger
CBaseToggle
CBaseEntity
C++ triggers.cpp

Template:Entity It is a volume that forces any NPC inside it to create a server side ragdoll instead of a client one.

Tip.pngTip:These triggers can be used to fix undesirable cases where the ragdoll of a dead enemy falls through the ground, such as when combat occurs on top of a func_breakable or func_physbox. Simply surround the area in question with one of these triggers.
Icon-Bug.pngBug:In Left 4 Dead seriesLeft 4 Dead series ragdolls will still be client side  [todo tested in ?]

See Also