SetNPCFollowVehicle
From Onset Developer Wiki
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
- GetStreamedNPC
- GetNPCLocation
- SetNPCOutline
- SetNPCPropertyValue
- GetNPCPropertyValue
- CreateNPC
- DestroyNPC
- IsValidNPC
- GetAllNPC
- GetNPCCount
- IsNPCStreamedIn
- SetNPCLocation
- GetNPCLocation
- SetNPCHealth
- GetNPCHealth
- SetNPCAnimation
- SetNPCHeading
- GetNPCHeading
- SetNPCTargetLocation
- SetNPCFollowPlayer
- SetNPCFollowVehicle
- SetNPCRagdoll
- SetNPCRespawnTime