Well the point is when i kill the Guardian, it suppose to set my quest, but some how it dint work
need help pls....
iz_dun03,245,262,4 script Haris 512,{
if( kahoquest == 12 ){
mes "[^00FF00Haris^000000]";
mes "What are you doing here?";
mes "its dangeous!!!!!!";
next;
mes "[^00FF00Haris^000000]";
mes "Go back from where you came from";
mes "this place is not a child play";
mes "ground";
set kahoquest,13;
close;
}
if( kahoquest == 13 ){
mes "[^00FF00Haris^000000]";
mes "Dint you get it?";
next;
mes "[^00FF00Haris^000000]";
mes "very well, this should";
mes "should convince you!";
next;
mes "[^00FF00Haris^000000]";
mes "Try kill my Guardian";
close2;
monster "iz_dun03",245,256,"Guardian",1756,1,strnpcinfo(0)+"::OnGuardianDead";
end;
}
if( kahoquest == 14 ){
mes "[^00FF00Haris^000000]";
mes "Hmm..... you knock down";
mes "my guardian";
mes "................";
next;
mes "[^00FF00Haris^000000]";
mes "Then you are worthy";
mes "i shall give you a Secret";
next;
mes "[^00FF00Haris^000000]";
mes "Beyond this enterance";
mes "there is a single chest";
next;
mes "[^00FF00Haris^000000]";
mes "Its been told that a";
mes "legendary power concealed";
mes "within it";
next;
mes "[^00FF00Haris^000000]";
mes "But! be warn, there will";
mes "be a test";
next;
mes "[^00FF00Haris^000000]";
mes "Good luck i hope for";
mes "the best of your";
mes "quest";
set kahoquest,15;
close;
} else {
mes "[^00FF00Haris^000000]";
mes "I must find that";
mes "legendary power";
close;
}
OnGuardianDead:
message strcharinfo(0),"[^00FF00Haris^000000]: "+strcharinfo(0)+" you killed a guardian";
set kahoquest,14;
end;
}
Solve:
iz_dun03,245,262,4 script Haris 512,{
if( kahoquest == 12 ){
mes "[^00FF00Haris^000000]";
mes "What are you doing here?";
mes "its dangeous!!!!!!";
next;
mes "[^00FF00Haris^000000]";
mes "Go back from where you came from";
mes "this place is not a child play";
mes "ground";
set kahoquest,13;
close;
}
if( kahoquest == 13 ){
if(.spawned){
mes "[^00FF00Haris^000000]";
mes "Go find my Guardian";
mes "and knock him down";
mes "if your that strong";
mes "enough";
close;
}
mes "[^00FF00Haris^000000]";
mes "Dint you get it?";
next;
mes "[^00FF00Haris^000000]";
mes "very well, this should";
mes "should convince you!";
next;
mes "[^00FF00Haris^000000]";
mes "Try kill my Guardian";
close2;
monster "iz_dun03",245,256,"Guardian",1756,1,"Haris::OnGuardDead";
set .spawned,1;
end;
}
if( kahoquest == 14 ){
mes "[^00FF00Haris^000000]";
mes "Hmm..... you knock down";
mes "my guardian";
mes "................";
next;
mes "[^00FF00Haris^000000]";
mes "Then you are worthy";
mes "i shall give you a Secret";
next;
mes "[^00FF00Haris^000000]";
mes "Beyond this enterance";
mes "there is a single chest";
next;
mes "[^00FF00Haris^000000]";
mes "Its been told that a";
mes "legendary power concealed";
mes "within it";
next;
mes "[^00FF00Haris^000000]";
mes "But! be warn, there will";
mes "be a test";
next;
mes "[^00FF00Haris^000000]";
mes "Good luck i hope for";
mes "the best of your";
mes "quest";
set kahoquest,15;
close;
} else {
mes "[^00FF00Haris^000000]";
mes "I must find that";
mes "legendary power";
close;
}
OnGuardDead:
message strcharinfo(0),"[Haris]: "+strcharinfo(0)+" you killed a guardian";
specialeffect2 371;
set kahoquest,14;
set .spawned,0;
end;
}
Question
Dolphin86
Well the point is when i kill the Guardian, it suppose to set my quest, but some how it dint work
need help pls....
Solve:
Edited by dolphincuteLink to comment
Share on other sites
0 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.