Garry's Mod Wiki
Description
Gets the bone index of the given bone name, returns nil if the bone does not exist.
When called on Weapons equipped by any Player, this will return their viewmodel's bone index instead of worldmodel.
See Entity:GetBoneName for the inverse of this function.
Arguments
1 string boneName
The name of the bone.
Common generic bones ( for player models and some HL2 models ):
- ValveBiped.Bip01_Head1
- ValveBiped.Bip01_Spine
- ValveBiped.Anim_Attachment_RH
Common hand bones (left hand equivalents also available, replace R with L)
- ValveBiped.Bip01_R_Hand
- ValveBiped.Bip01_R_Forearm
- ValveBiped.Bip01_R_Foot
- ValveBiped.Bip01_R_Thigh
- ValveBiped.Bip01_R_Calf
- ValveBiped.Bip01_R_Shoulder
- ValveBiped.Bip01_R_Elbow
Returns
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...