phys_ragdollmagnet
phys_ragdollmagnet is an existing point entity available
with all versions of Mapbase.An entity that acts like a magnet for ragdolls. Useful for crafting exaggerated ragdoll behavior (i.e. guys falling over rails on death). If the Bar Magnet spawnflag is set, the magnet works like it was a cylindrical magnet i.e. it attracts ragdolls to the nearest point on a line.
KeyValues
- Bone Target (BoneTarget) <string>
Targets a specific bone to apply the force to. (e.g. ValveBiped.Bip01_R_Foot)
Targets a specific bone to apply the force to. (e.g. ValveBiped.Bip01_R_Foot)
Outputs
- OnUsed
<vector>
Fires when this magnet is used by a ragdoll. Passes the ragdoll's original force + the force this magnet has applied.
Fires when this magnet is used by a ragdoll. Passes the ragdoll's original force + the force this magnet has applied.
