GetNPCHeading

From Onset Developer Wiki
GetNPCHeading

Type: Function
Context: Server & Client
Introduced: v1.0

Description

Get the specified NPC's heading (rotation).

Syntax

GetNPCHeading(npc)

Parameters

  • npc
    The NPC identifier

Return Value

  • Returns the heading

Example

local heading = GetNPCHeading(npcId)

See also