switch(rand(1,3) ) {
case 1:
mes .@npcname$;
mes "Hello "+strcharinfo(0)+",";
mes "do you want to accept the Job?";
next;
switch(select("Yes,sure:No,sorry:Cancel")) {
case 1:
mes .@npcname$;
mes "Go to comodo and find Seo Jo!";
mes "she will explain the details.";
set changeq,1;
close;
}
case 2:
mes .@npcname$;
mes "Hello "+strcharinfo(0)+",";
mes "do you want to accept the Job?";
next;
switch(select("Yes,sure:No,sorry:Cancel")) {
case 1:
mes .@npcname$;
mes "Go to Alberta and find Jeo!";
mes "she will explain the details.";
set changeq,1;
close;
}
case 3:
mes .@npcname$;
mes "Hello "+strcharinfo(0)+",";
mes "do you want to accept the Job?";
next;
switch(select("Yes,sure:No,sorry:Cancel")) {
case 1:
mes .@npcname$;
mes "Awesome";
mes "Go to Al de Baran and find Celine!";
mes "she will explain the details.";
set changeq,1;
close;
}
}
}
i made 3 random quest,
1 will tell me to go comodo
2 will tell me to go alberta
3 will tell me to go alde baran
once he give me the first location i want him to stop giving another location.
and i want that he will just repeat the first location he gave me.
Question
Takuyakii
switch(rand(1,3) ) { case 1: mes .@npcname$; mes "Hello "+strcharinfo(0)+","; mes "do you want to accept the Job?"; next; switch(select("Yes,sure:No,sorry:Cancel")) { case 1: mes .@npcname$; mes "Go to comodo and find Seo Jo!"; mes "she will explain the details."; set changeq,1; close; } case 2: mes .@npcname$; mes "Hello "+strcharinfo(0)+","; mes "do you want to accept the Job?"; next; switch(select("Yes,sure:No,sorry:Cancel")) { case 1: mes .@npcname$; mes "Go to Alberta and find Jeo!"; mes "she will explain the details."; set changeq,1; close; } case 3: mes .@npcname$; mes "Hello "+strcharinfo(0)+","; mes "do you want to accept the Job?"; next; switch(select("Yes,sure:No,sorry:Cancel")) { case 1: mes .@npcname$; mes "Awesome"; mes "Go to Al de Baran and find Celine!"; mes "she will explain the details."; set changeq,1; close; } } }
i made 3 random quest,
1 will tell me to go comodo
2 will tell me to go alberta
3 will tell me to go alde baran
once he give me the first location i want him to stop giving another location.
and i want that he will just repeat the first location he gave me.
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.