Entity.GetBoneParent
From GMod Wiki
Function | |
Syntax | Entity:GetBoneParent( Integer boneindex ) |
Description: | |
Returns a parent boneindex of a given bone entity | |
Returns: | Integer |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.GetBoneParent]Entity.GetBoneParent [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- If the bone doesn't have a parent -1 will be returned.