Garry's Mod Wiki

Garry's Mod Wiki

  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 bone 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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...