Garry's Mod Wiki


Entity:FollowBone( Entity parent = NULL, number boneid )


Makes an entity follow another entity's bone.

Internally this function calls Entity:SetParent( parent, boneid ) and Entity:AddEffects( EF_FOLLOWBONE ).

If the entity vibrates, you probably need to run Entity:SetPredictable( false ) clientside.
This function will not work if the target bone's parent bone is invalid or if the bone is not used by VERTEX LOD0


1 Entity parent = NULL
The entity to follow the bone of. If unset, removes the FollowBone effect.
2 number boneid
The bone to follow

Page Links

Special Pages



Render Time: 32ms

DB GetPage 3
Generate Html 8
SaveChanges (1) 11
Render Body 0
Render Sidebar 8