Garry's Mod Wiki

Entity:GetBoneParent

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, starting at index 0.

Returns

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

Special Pages


Wikis

?

Render Time: 64ms

DB GetPage 46
Generate Html 4
SaveChanges (1) 5
Render Body 0
Render Sidebar 6