OnNPCSpawn

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
OnNPCSpawn

Type: Event
Context: Server
Introduced: v1.0

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