Entity/GetBoneSurfaceProp

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Next update)
 
Line 7: Line 7:
 
}}
 
}}
 
{{Arg
 
{{Arg
|name=bone
 
 
|type=number
 
|type=number
 +
|name=bone
 
|desc=The bone id. See {{ClassFunction|Entity|LookupBone}}.
 
|desc=The bone id. See {{ClassFunction|Entity|LookupBone}}.
 
}}
 
}}
 
{{Ret
 
{{Ret
 
|type=string
 
|type=string
|desc=The surface property of the bone to be used with {{LibraryFunction|util|GetSurfaceIndex}}.
+
|desc=The surface property of the bone to be used with {{LibraryFunction|util|GetSurfaceIndex}} or an empty string on failure.
 
}}
 
}}

Latest revision as of 13:47, 8 July 2019

 Entity:GetBoneSurfaceProp( )

Description

Next Update Change

This feature is only available in the next update.

Returns the surface property of the specified bone.

Arguments

number bone

The bone id. See Entity:LookupBone.

Returns

string

The surface property of the bone to be used with util.GetSurfaceIndex or an empty string on failure.
Personal tools
Navigation