Garry's Mod Wiki

Entity:GetBoneParent

number Entity:GetBoneParent( number bone )

Description

Returns parent bone of given bone.

Will return -1 for ClientsideModel until Entity:SetupBones is called on the entity.

Arguments

1 number bone
The bode ID of the bone to get parent of

Returns

1 number
Parent bone ID or -1 if we failed for some reason.

Page Links


Special Pages


Wikis

?

Render Time: 45ms

Session 0
DB GetPage 3
Generate Html 7
SaveChanges 20
Render Body 0
Render Sidebar 13