EntityGetBoneIndex Method RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Gets the index of a bone of this Entity, given the bone's name.

Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.47.1037.9935)
Syntax

public int GetBoneIndex(
	string boneName
)

Parameters

boneName
Type: SystemString
The name of the bone.

Return Value

Type: Int32
A Int32 representing the index of the bone.
Exceptions

ExceptionCondition
ArgumentExceptionThrown if this Entity does not have a bone with the specified name.
See Also

Reference