SetNPCFollowVehicle

From Onset Developer Wiki
Revision as of 12:57, 21 November 2019 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetNPCFollowVehicle

Type: Function
Context: Server
Introduced: v1.0

Description

Make a NPC follow the vehicle.

Syntax

SetNPCFollowVehicle(npc, vehicle [, speed])

Parameters

  • npc
    The NPC identifier.
  • vehicle
    The vehicle identifier.
  • speed (optional)
    The speed in floating point.

Return Value

  • __EDIT_ME__

Example

__EDIT_ME__

See also