Garry's Mod Wiki

Entity:SetRagdollBuildFunction

  Entity:SetRagdollBuildFunction( function func )

Description

Sets the function to build the ragdoll. This is used alongside Kinect, for more info see ragdoll_motion entity.

Arguments

1 function func
The build function. This function has one argument:
  • Entity ragdoll - The ragdoll to build