i try to make an NPC that you must first answer her question right.
but i lost it by putting too much cases( close enough ), will someone guide me through this..
the answers:
yes, she is a woman and she wears a female necklace by his tribe.
niflheim,212,182,5 script Mysterious Man? 474,{
mes "[ Mysterious Man ]";
mes "Hmmm...";
next;
mes "[ Mysterious Man ]";
mes "Mysterious Man? you say?";
next;
mes "[ Mysterious Man ]";
mes "If you can Answer my Question,";
mes "I will let you take this Quest.";
next;
mes "[ Mysterious Man ]";
mes "Well? are you up for my Question?";
next;
switch(select("Yes","No, Eww")) {
case 1:
mes "[ Mysterious Man ]";
mes "I'm Glad that you say Yes";
next;
mes "[ Mysterious Man ]";
mes "Don't Worry its only a 1 Question";
next;
mes "Am I a Boy or a Girl?";
next;
switch(select("Girl","Boy","Isn't that obvious?")) {
next;
case 1:
mes "[ Mysterious Man ]";
mes "EEEEEEEEEENG!!";
mes "Get outta here you bastard!!";
atcommand "@nuke " + strcharinfo(0);
close;
break;
case 2:
mes "[ Mysterious Man ]";
mes "EEEEEEEEEEENG!!";
mes "Your to immature to undertand don't you?";
mes "or your IQ is just below Average?";
atcommand "@nuke " + strcharinfo(0);
close;
break;
case 3:
mes "[ Mysterious Man ]";
mes "Obvious? and why do you say that?";
next;
switch(select("a Woman, your wearing Female Necklace from your Tribe","Man, you have Tattoos","That your Gay?")) {
next;
case 1:
mes "[ Mysterious Woman ]";
mes "Wow, Im Amazed in your Skills";
mes "your like a Detective, HAHA...";
next;
mes "[ Mysterious Woman ]";
mes "Im happy to announce that you passed!";
mes "I will tell you the Requirements for this item.";
next;
mes "[ Mysterious Woman ]";
mes "This Full Hallow Mask is very sacred for me.";
mes "But because you answered my question maturely, I will help you build it.";
next;
mes "[ Mysterious Woman ]";
mes "Remeber this items, i need this";
next;
mes "[ Mysterious Woman ]";
mes "^cc0000120x --> Helm (1)";
mes "2x --> Black Dyestuffs^000000";
next;
mes "Go get them!.";
next;
mes "[ Mysterious Woman ]";
mes "Do you have the items for the mask now?";
next;
switch(select("Show her the items.:Don't give her yet the items.")) {
case 1:
if( countitem(999) >= 120 && countitem(983) >= 2) {
mes "[ Mysterious Woman ]";
mes "This is what i need!";
next;
mes "Give me a Moment to build it";
next;
mes" Clink..Clank...Clunk! ";
next;
mes "Here you Go!, Please Take care of that mask";
delitem 999,120;
delitem 983,2;
getitem 2292,1; // Full Hallow Mask
close2;
break;
case 2:
mes "[ Mysterious Woman ]";
mes "EEEEEEEEEENG!!";
mes "Get outta here you bastard!!";
atcommand "@nuke " + strcharinfo(0);
close;
break;
case 3:
mes "[ Mysterious Woman ]";
mes "EEEEEEEEEENG!!";
mes "Get outta here you bastard!!";
atcommand "@nuke " + strcharinfo(0);
close;
break;
case 2:
mes "[ Mysterious Man ]";
mes "Ok, Suit yourself";
close;
break;
}
else {
mes "[ Mysterious Man ]";
mes "Are you mentally disable or something? Check your Items again, Its not Complete!";
close;
}
case 2:
mes "[ Mysterious Man ]";
mes "Do whatever you want";
close;
}
case 2:
mes "Good bye then";
close;
}
OnPCLoadMapEvent:
showevent 1,0;
end;
}
}
}
market mapflag loadevent
Question
Mr BrycE
Basically,
i try to make an NPC that you must first answer her question right.
but i lost it by putting too much cases( close enough ), will someone guide me through this..
the answers:
yes, she is a woman and she wears a female necklace by his tribe.
Link to comment
Share on other sites
4 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.