GetNPCBoneLocation: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|This function returns the bone location of the NPC.}} {{FuncSyntax|GetNPCBoneLocation(npc, BoneName [, BoneSpace = 1])}} {{Fu...")
 
No edit summary
Line 3: Line 3:
{{FuncDescription|This function returns the bone location of the NPC.}}
{{FuncDescription|This function returns the bone location of the NPC.}}


{{FuncSyntax|GetNPCBoneLocation(npc, BoneName [, BoneSpace = 1])}}
{{FuncSyntax|GetNPCBoneLocation(npc, BoneName [, BoneSpace])}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|npc|The NPC identifier}}
{{FuncParam|npc|The NPC identifier}}
{{FuncParam|BoneName |The bone name}}
{{FuncParam|BoneName |The bone name}}
{{FuncParamOptional|BoneSpace|1 = World Space, 2 = Local Space}}
{{FuncParamOptional|BoneSpace|1 for World Space, 2 for Local Space}}


{{FuncReturnValue|Returns X, Y, Z of the bone location.}}
{{FuncReturnValue|Returns X, Y, Z of the bone location.}}

Revision as of 19:33, 18 January 2020

GetNPCBoneLocation

Type: Function
Context: Client
Introduced: v1.0

Description

This function returns the bone location of the NPC.

Syntax

GetNPCBoneLocation(npc, BoneName [, BoneSpace])

Parameters

  • npc
    The NPC identifier
  • BoneName
    The bone name
  • BoneSpace (optional)
    1 for World Space, 2 for Local Space

Return Value

  • Returns X, Y, Z of the bone location.

Example

__EDIT_ME__

See also

__EDIT_ME__