GetNPCBoneLocation: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0.3}}


{{FuncDescription|This function returns the bone location of the NPC.}}
{{FuncDescription|This function returns the bone location of the NPC.}}

Latest revision as of 19:39, 18 January 2020

GetNPCBoneLocation

Type: Function
Context: Client
Introduced: v1.0.3

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__