trigger_serverragdoll

From Valve Developer Community
Jump to navigation Jump to search
C++ Class hierarchy
CServerRagdollTrigger
CBaseTrigger
CBaseToggle
CBaseEntity
C++ triggers.cpp

trigger_serverragdoll is a trigger entity available in all Source Source games. It is a volume that forces any NPC inside it to create a server side ragdoll instead of a client one.

Icon-Important.pngImportant: Only non-player CBaseCombatCharacter entities affected by this entity.
PlacementTip.pngPlacement 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.
Icon-Bug.pngBug:In Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series ragdolls will still be client side.
Note.pngNote: In Black Mesa Black Mesa, server side ragdoll created by NPC will not gib if created in this way, because this entity doesn't change m_bForceServerGibs to 1.

See also