OnNPCDeath: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Event|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|OnNPCDeath}} {{FuncParameters}} == Example == __EDIT_ME__ {{RelatedFunctions}} {{ServerEvents}}"
 
No edit summary
Line 3: Line 3:
{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|__EDIT_ME__}}


{{FuncSyntax|OnNPCDeath}}
{{FuncSyntax|OnNPCDeath(npc, player)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|npc|The npc that died.}}
{{FuncParam|player|Instigator, 0 if not killed by a player.}}
== Example ==
== Example ==
__EDIT_ME__
__EDIT_ME__

Revision as of 14:57, 26 September 2019