it seems that my script currently doesn't work with the latest svn that i've downloaded. svn version 17049.
however, on svn 17006 it works great. I believe it has something to do with the npcskill i guess?
my mapserver doesn't show any errors as well.
sm_pri,11,10,4 script Grandma 2339,{
setnpcdisplay "Grandma", "Demon", 1605,2;
next;
monster "sm_pri",0,0,"Minions",1605,10,"Grandma::OnPoringKilled";
// By using 0,0 it will spawn them in a random place.
mes "Destroy him!";
// He summoned ten.
close;
OnPoringKilled:
set PoringKilled,PoringKilled+1;
if (PoringKilled==10) goto L_AllDead;
end;
L_AllDead:
monster "sm_pri",0,0,"Minions",1605,10,"Grandma::OnPoporingKilled";
set PoringKilled,0;
close;
OnPoporingKilled:
set PoporingKilled,PoporingKilled+1;
if (PoporingKilled==10) goto L_AllDDead;
end;
L_AllDDead:
announce "You've Managed to fight through the demons!",3;
set PoporingKilled,0;
setnpcdisplay "Grandma", "Demon", 1605,1;
menu "k",L_Choice,"ok",L_Angel;
close;
L_Choice
setnpcdisplay "Grandma", "Old Grandma", 2339,0;
mes "Hihihihihi";
close;
L_Angel:
setnpcdisplay "Grandma", "Old Grandma", 2339,0;
mes "Hello!!";
close;
}
This isn't the full script though. i deleted most of the parts where it has mes to shorten it. but i'm certain only this part has the problem currently.
Question
ToiletMaster
Hi guys,
it seems that my script currently doesn't work with the latest svn that i've downloaded. svn version 17049.
however, on svn 17006 it works great. I believe it has something to do with the npcskill i guess?
my mapserver doesn't show any errors as well.
This isn't the full script though. i deleted most of the parts where it has mes to shorten it. but i'm certain only this part has the problem currently.
Edited by ToiletMasterLink to comment
Share on other sites
5 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.