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 | {{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 | {{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
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__