OnNPCSpawn
From Onset Developer Wiki
Description
Event thats called when a NPC is spawned after it died. Death time can be set with SetNPCRespawnTime.
Syntax
OnNPCSpawn(npc)
Parameters
- npc
The npc identifier
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