OnNPCSpawn: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Event|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|OnNPCSpawn}} {{FuncParameters}} == Example == __EDIT_ME__ {{RelatedFunctions}} {{ServerEvents}}"
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Info|Event|Server|1.0}}
{{Info|Event|Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Event thats called when a NPC is spawned after it died. Death time can be set with [[SetNPCRespawnTime]].}}


{{FuncSyntax|OnNPCSpawn}}
{{FuncSyntax|OnNPCSpawn(npc)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|npc|The npc identifier}}
== Example ==
== Example ==
__EDIT_ME__
__EDIT_ME__


{{RelatedFunctions}}
{{RelatedFunctions}}
{{ServerEvents}}
{{Template:NPCFunctions}}

Latest revision as of 11:22, 1 September 2020

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