GetNPCHeading

From Onset Developer Wiki
Revision as of 17:16, 16 January 2020 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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