SetNPCHeading

From Onset Developer Wiki
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