I want to basically run this script OnTouch and boost the player to the next NPC on .guidetype0, except on the guidetype 1, I want to stray away from that and move onto another block and have it talk to the player but then go back to the original OnTouch basically like this...
Except #3 it speaks to player and then moves back to the script to keep going until there's no more NPCs to move to.
Question
DR4LUC0N
Okay let me try and re-explain this... with this script how do I make this happen? I've been trying to edit it so please excuse my comments.
prontera,157,176,5 script guide 650,1,1,{ setarray .@mapx,156,156,156,153; setarray .@mapy,170,161,153,150; setarray .@guidetype,0,0,1,0; .1a = ++ OnTouch: if(.guide == 0) { unitwalk getcharid(3),.@mapx[.guide[.1a]],.@mapy[.guide[.1a]]; set .guide,.1a; } if(.guide >= 1 && .@guidetype[.guide] == 0) { unitwalk getcharid(3),.@mapx[.guide[.1a]],.@mapy[.guide[.1a]]; set .guide, .guide++; } // if(.guide >= 1 && .@end >= 0 && .@guidetype[.guide] == 1) { // .guide++; // mes "Test complete"; // close; // unitwalk getcharid(3),.@mapx[.guide],.@mapy[.guide]; // end; // } // else if(.@end >= 1) { // set .guide,0; // end; // } } prontera,157,170,6 duplicate(guide) guide#1 650,1,1 prontera,157,162,6 duplicate(guide) guide#2 650,1,1 prontera,157,153,6 duplicate(guide) guide#3 650,1,1 prontera,152,150,6 duplicate(guide) guide#4 650,1,1
I want to basically run this script OnTouch and boost the player to the next NPC on .guidetype0, except on the guidetype 1, I want to stray away from that and move onto another block and have it talk to the player but then go back to the original OnTouch basically like this...
Except #3 it speaks to player and then moves back to the script to keep going until there's no more NPCs to move to.
Edited by DR4LUC0N4 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.