Hi guys, this is under the script commands and i came across a small issue here.
<Normal NPC object definition. Let's assume you called him NPCNAME.>
mes "[summon Man]";
mes "Want to start the kill?";
next;
menu "Yes",L_Yes,"No",-;
mes "[summon Man]";
mes "Come back later";
close;
L_Yes:
monster "prontera",0,0,"Quest Poring",1002,10,"NPCNAME::OnPoringKilled";
// By using 0,0 it will spawn them in a random place.
mes "[summon Man]";
mes "Now go and kill all the Poring I summoned";
// He summoned ten.
close;
OnPoringKilled:
set $PoringKilled,$PoringKilled+1;
if ($PoringKilled==10) goto L_AllDead;
end;
L_AllDead:
announce "Summon Man: Well done all the poring are dead",3;
set $PoringKilled,0;
end;
I'm not sure whether it's stucked on OnPoringKilled or L_AllDead cause
it doesn't announce at all once i spawned all 10.
No modifications were done or whatsoever, but it just doesn't work for a reason ._.
aside from that, i ensured that my my NPC name was NPCNAME
Question
ToiletMaster
Hi guys, this is under the script commands and i came across a small issue here.
I'm not sure whether it's stucked on OnPoringKilled or L_AllDead cause
it doesn't announce at all once i spawned all 10.
No modifications were done or whatsoever, but it just doesn't work for a reason ._.
aside from that, i ensured that my my NPC name was NPCNAME
any help would be great!
Edited by ToiletMaster2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.