Entity/GetBoneSurfaceProp

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Description=Returns the surface property of the specified bone. |Realm=Shared |IsClass=Yes }} {{Arg |name=bone |type=number |desc=The bone id. See {{ClassFunction|Enti...")
 
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
}}
 
}}
 
{{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 16:13, 4 September 2019

 Entity:GetBoneSurfaceProp( )

Description

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