Entity:SetPoseParameter
Description
Sets the specified pose parameter to the specified value.
You should call Entity:InvalidateBoneCache after calling this function.
Avoid calling this in draw hooks, especially when animating things, as it might cause visual artifacts.
Arguments
1 string or number poseName
Name of the pose parameter. Entity:GetPoseParameterName might come in handy here.
Can also be a pose parameter ID.
Example
Copies pose parameters from one entity to another. Since Entity:GetPoseParameter returns pose parameter values 0-1 on the client, they have to be remapped to the range returned by Entity:GetPoseParameterRange before being set on the target entity.