f_fman Posted July 19, 2021 Group: Members Topic Count: 10 Topics Per Day: 0.01 Content Count: 29 Reputation: 1 Joined: 03/28/21 Last Seen: September 30, 2021 Share Posted July 19, 2021 hello I am looking for npc that instant complete the episode 17.1 and the banquet of heros, and terra glorria episodes, using a custom ticket. Quote Link to comment Share on other sites More sharing options...
0 f_fman Posted July 23, 2021 Group: Members Topic Count: 10 Topics Per Day: 0.01 Content Count: 29 Reputation: 1 Joined: 03/28/21 Last Seen: September 30, 2021 Author Share Posted July 23, 2021 this is my current work in progress script. I dont know if I am missing something to be sure that the npc complete that 2 episodes. egg1,232,159,5 script skipquest 10233,{ //banquet setarray .@quest161[0],7681,7682,11420,7684,14516,14469,7682,14474,7683,7686,14507,14495,7682,5403,5402,11400,11412,14475,14487,14481,14480,14482,14500,12369,5415,5416,5417,5418,5419,5420,5421,5422,5423,5424,5425,5428,5431,5436,5439,5442,5445,5432; //terra gloria setarray .@quest162[0],7741,14615,16031,14602,14602,16019,16061,14600,11462,14601,11464,14613,5737,16030,16048,16045,16050,16014,16028,16054,16055,16056,16057,16013,16027,16041,16032,16041,16029,16036,12376,7746,7747,7748,7749,7751; mes "[skip quest npc]"; mes "hello I can skip for you all the quest of the episode 16.1 and 16.2 "; next; mes "are you interested?"; next; menu "I am interested", L1, "no interest", L2; L1: for(set .@i,0; .@i<(getarraysize(.@quest161)); set .@i,.@i+1) { mes "quest "+ .@quest161[.@i] + " ^FF0000 set^000000"; setquest .@quest161[.@i]; } next; for(set .@i,0; .@i<(getarraysize(.@quest161)); set .@i,.@i+1) { mes "quest "+ .@quest161[.@i] + " ^FF0000 complete ^000000"; completequest .@quest161[.@i]; if( .@i == (getarraysize(.@quest161))){ } } mes "16.1 done"; next; for(set .@i,0; .@i<(getarraysize(.@quest162)); set .@i,.@i+1) { mes "quest "+ .@quest162[.@i] + " ^FF0000 set^000000"; setquest .@quest162[.@i]; } next; for(set .@i,0; .@i<(getarraysize(.@quest162)); set .@i,.@i+1) { mes "quest "+ .@quest162[.@i] + " ^FF0000 complete ^000000"; completequest .@quest162[.@i]; if( .@i == (getarraysize(.@quest162))){ } } mes "16.2 done"; next; //setquest 7853; //setquest 7854; //setquest 7855; //setquest 7856; //setquest 7857; questinfo_refresh(); terra_gloria_main = 25; ep_illusion = 0; npctalk "use /navi prt_cas_q 21/39 speak with Nihilim"; next; warp "prt_cas_q",134,8; close; L1Exit: L2: mes "ok"; //close; L2Exit: } Quote Link to comment Share on other sites More sharing options...
0 ffman22 Posted July 23, 2021 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 29 Reputation: 2 Joined: 08/11/12 Last Seen: 6 hours ago Share Posted July 23, 2021 function script resetskip { if(doneS == 0){ setarray .@quest161[0],7681,7682,11420,7684,14516,14469,7682,14474,7683,7686,14507,14495,7682,5403,5402,11400,11412,14475,14487,14481,14480,14482,14500,12369,5415,5416,5417,5418,5419,5420,5421,5422,5423,5424,5425,5428,5431,5436,5439,5442,5445,5432; setarray .@quest162[0],7741,14615,16031,14602,14602,16019,16061,14600,11462,14601,11464,14613,5737,16030,16048,16045,16050,16014,16028,16054,16055,16056,16057,16013,16027,16041,16032,16041,16029,16036,12376,7746,7747,7748,7749,7751; for(set .@i,0; .@i<(getarraysize(.@quest161)); set .@i,.@i+1) { //mes "quest "+ .@quest161[.@i] + " ^FF0000 set^000000"; setquest .@quest161[.@i]; } next; for(set .@i,0; .@i<(getarraysize(.@quest161)); set .@i,.@i+1) { //mes "quest "+ .@quest161[.@i] + " ^FF0000 complete ^000000"; completequest .@quest161[.@i]; if( .@i == (getarraysize(.@quest161))){ } } dispbottom "16.1 done"; for(set .@i,0; .@i<(getarraysize(.@quest162)); set .@i,.@i+1) { mes "quest "+ .@quest162[.@i] + " ^FF0000 set^000000"; setquest .@quest162[.@i]; } for(set .@i,0; .@i<(getarraysize(.@quest162)); set .@i,.@i+1) { //mes "quest "+ .@quest162[.@i] + " ^FF0000 complete ^000000"; completequest .@quest162[.@i]; if( .@i == (getarraysize(.@quest162))){ } } mes "16.2 done"; dispbottom "16.2 done"; questinfo_refresh(); terra_gloria_main = 25; ep_illusion = 0; set doneS, 1; dispbottom "use /navi prt_cas_q 21/39 speak with Nihilim to start the episode 17.1 "; warp "prt_cas_q",134,8; }(doneS == 1){ dispbottom "you already use this item in this character, if your are stuck speak with an admin."; getitem, 11000022; ] } I create that function that works exactly like the NPC, for a custom item, but I am getting the problem that the second condition doesnt work i dont know why Quote Link to comment Share on other sites More sharing options...
Question
f_fman
hello I am looking for npc that instant complete the episode 17.1 and the banquet of heros, and terra glorria episodes, using a custom ticket.
Link to comment
Share on other sites
2 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.