Garry's Mod Wiki

Garry's Mod Wiki

  number Entity:GetBoneCount()

Description

Returns the amount of bones in the entity.

Will return 0 for ClientsideModel or undrawn entities until Entity:SetupBones is called on the entity.

Returns

1 number
The amount of bones in given entity.

Example

Prints amount of bones in player 1

Output: The amount of bones in player 1, which normally would be 68.

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