From bdc7d9f4c4328800e8df5f2419dc9fe6a4fe721d Mon Sep 17 00:00:00 2001 From: TurmoilToad Date: Sat, 10 Nov 2018 10:15:37 -0500 Subject: [PATCH] SPAWN_ZONE --- Perl-API---Perl-Sub-Event-Examples.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Perl-API---Perl-Sub-Event-Examples.md b/Perl-API---Perl-Sub-Event-Examples.md index 5fa8f21..599f520 100644 --- a/Perl-API---Perl-Sub-Event-Examples.md +++ b/Perl-API---Perl-Sub-Event-Examples.md @@ -470,7 +470,7 @@ sub EVENT_DEATH_COMPLETE { - When the NPC dies. -Used by the zone controller. +**Used by the zone controller.** ### Exports @@ -1393,6 +1393,21 @@ sub EVENT_SPAWN { } ``` +# EVENT_SPAWN_ZONE + +### Trigger + +- When an NPC spawns. + +**Used by the zone controller.** + +### Exports + +| Name | Type | Usage +| --- | --- | --- +| spawned_entity_id | int | `quest::say($spawned_entity_id); # returns int` +| spawned_npc_id | int | `quest::say($spawned_npc_id); # returns int` + # EVENT_SPELL_EFFECT_CLIENT ### Trigger