SetNPCFollowPlayer

From Onset Developer Wiki
Revision as of 15:16, 19 November 2019 by 28days (talk | contribs)
SetNPCFollowPlayer

Type: Function
Context: Server
Introduced: v1.0

Description

Set a NPC to follow the specified player.

Syntax

SetNPCFollowPlayer(npc, player [, speed])

Parameters

  • npc
    The NPC identifier.
  • player
    The player identifier.
  • speed (optional)
    The speed.

Return Value

  • This function returns nothing.

Example

__EDIT_ME__

See also