OnNPCSpawn

From Onset Developer Wiki
Revision as of 11:22, 1 September 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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