rakuzas Posted September 25, 2016 Group: Members Topic Count: 152 Topics Per Day: 0.03 Content Count: 459 Reputation: 7 Joined: 06/29/12 Last Seen: April 25, 2019 Share Posted September 25, 2016 (edited) Edited : I just got it myself by keep trying.. But if you have idea to improve it please tell me.. Thanks.. Below is my sample script : NPC 1 sample script // Tutorial NPC by rakuzas gonryun,34,179,11 script NPC1 721,{ if(TourDone01 == 1) goto TourDone; else if(TourDone01 == 0) goto TourStart; TourStart: mes "Talk to NPC2"; set NPC2, 1; close2; TourDone: mes "Success"; mes "yahoo~"; close2; end; } NPC2 sample script //Tutorial NPC by rakuzas gonryun,35,175,11 script NPC2 721,{ if(TourDone01 == 1) goto TourFinish; else if(NPC2 == 1) goto TourStart; else if(NPC2 == 0) goto TourDelay; TourDelay: mes "Please talk to NPC1 first"; close2; cutin "", 255; end; TourStart: mes "Thank you~ You may talk to NPC1 again~"; set TourDone01, 1; close2; end; TourFinish: mes "Tour done!"; close2; end; } Edited September 25, 2016 by rakuzas Quote Link to comment Share on other sites More sharing options...
0 anacondaq Posted September 25, 2016 Group: Members Topic Count: 42 Topics Per Day: 0.01 Content Count: 1096 Reputation: 348 Joined: 02/26/12 Last Seen: May 30, 2023 Share Posted September 25, 2016 if i understood you correctly... gonryun,40,183,5 script Milenia Tutorial::npc1 864,{ mes "Hello young adventurer."; mes "I can give you tour"; mes "For each NPC in our server"; next; switch( select("You're so kind. Thank you!","Nah~ Im too pro for this!") ) { case 1: mes "Please talk to our Milenia Tour ~"; next; mes "Talk to me again after you done."; @tutor2_allowed = 1; break; case 2: mes "Such a arrogant person."; break; } close; } gonryun,46,183,11 script Milenia Tour#Tutorial::npc2 721,{ if( !@tutor2_allowed ) { mes "Please talk to Milenia Tutorial first~"; close; } mes "I can teleport you to any Milenia NPC."; next; mes " My teleport service is free~"; next; mes "Talk to me again if you want to use my teleport service~"; switch( select("Milenia Tutorial","Close") ) { case 1: warp "gonryun",40,182; break; case 2: break; } close; } Or here is raw file: LINK Quote Link to comment Share on other sites More sharing options...
Question
rakuzas
Edited : I just got it myself by keep trying.. But if you have idea to improve it please tell me..
Thanks..
Below is my sample script :
NPC 1 sample script
NPC2 sample script
Edited by rakuzasLink to comment
Share on other sites
1 answer 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.