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