Event on monster spawn death
Posted: 08 Dec 2010, 17:39
Wondering why the event doesn't happen? Chopped off the first part of the code (thus the close. Should NPCNAME be the name of the NPC doing the monster spawning? e.g. SpawnMaster ? When the Reaper is killed nothing seems to happen. My understanding was that the NPCNAME::L_ReaperKilled should have launched the L_ReaperKilled: event?
Thanks all...
Code: Select all
monster "this",0,0,"Reaper",1111,1,"NPCNAME::L_ReaperKilled";
close;
L_ReaperKilled:
getinventorylist;
if (@inventorylist_count==100) goto L_nospace;
mes "[Khent]";
mes "Fantastic mate! I don't";
mes "know how you did it, but";
mes "here's some pirate's gold";
mes "for your efforts!";
set zeny, zeny+1000000;
next;
mes "And this hat will serve";
mes "ye well! Thanks again!";
getitem 617, 1;