GetNPCSkeletalMeshComponent

From Onset Developer Wiki
GetNPCSkeletalMeshComponent

Type: Function
Context: Client
Introduced: v1.0

Description

Gets the skeletal mesh component of an NPC.

Syntax

GetNPCSkeletalMeshComponent(npc, ComponentName)

Parameters

  • npc
    The NPC identifier.
  • ComponentName
    Name of which SK component to get. Can be Body, Clothing0, Clothing1, Clothing2, Clothing3, Clothing4, Clothing5

Return Value

  • Returns the skeletal mesh component. UnrealLua

Example

__EDIT_ME__

See also

__EDIT_ME__