SetNPCHeading

From Onset Developer Wiki
Revision as of 17:08, 16 January 2020 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetNPCHeading

Type: Function
Context: Server
Introduced: v1.0

Description

Set's the specified NPC's heading (rotation).

Syntax

SetNPCHeading(npc, heading)

Parameters

  • npc
    The Npc identifier.
  • heading
    The heading in floats.

Return Value

  • This function true on success.

Example

SetNPCHeading(npcId, 90.0)

See also