smmurey Posted July 4, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 07/03/12 Last Seen: July 9, 2012 Share Posted July 4, 2012 hello guys how r u ? In fact, I need a npc to change the language of the npc's I talk with npc , You have two options : english Spanish -- If you choose English, Change npc's to the English language If you choose Spanish, Change npc's to the Spanish language -- I hope I have explained to you thx Quote Link to comment Share on other sites More sharing options...
Bahmut Posted July 4, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 382 Reputation: 39 Joined: 01/17/12 Last Seen: February 13, 2020 Share Posted July 4, 2012 There is no other translation of all NPCs. So you have to translate them by yourself. Quote Link to comment Share on other sites More sharing options...
smmurey Posted July 4, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 07/03/12 Last Seen: July 9, 2012 Author Share Posted July 4, 2012 I'm working on the translation , but i want a npc works to change the language to the translation of my or The original translation For illustration only : I want to such it thx Quote Link to comment Share on other sites More sharing options...
Bahmut Posted July 4, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 382 Reputation: 39 Joined: 01/17/12 Last Seen: February 13, 2020 Share Posted July 4, 2012 I'm solving this like this on my server (in my case english and german): prontera,146,174,4 script Translator#tr01::Translator 727,{ mes "[Translator]"; mes " * Please choose a language"; mes " * Bitte wähle eine Sprache"; next; menu "English",-,"German",L_Ger; set #language,0; next; mes "[Translator]"; mes "Thank you."; mes "Have fun on " + $server_Name$ + "."; close; L_Ger: set #language,1; next; mes "[Translator]"; mes "Danke."; mes "Viel Spaß auf " + $server_Name$ + "."; close; } And then make my NPC's multilanguage like this: if (#language == 1) { mes "Wo möchten sie hin?"; } else { mes "Where do you want to go?"; } Quote Link to comment Share on other sites More sharing options...
smmurey Posted July 5, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 07/03/12 Last Seen: July 9, 2012 Author Share Posted July 5, 2012 (edited) thank you And then make my NPC's multilanguage like this (mes): if (#language == 1) { mes "Wo möchten sie hin?"; } else { mes "Where do you want to go?"; } I want an example of (select) : if (#language == 1) { switch(select("ja:Ausgang")) } else { switch(select("Yes:Quit")) } Tried this method but it did not work == What I do? Edited July 4, 2012 by smmurey Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 5, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 5, 2012 set .@i, ((#language==1)?select("ja:Ausgang"):select("Yes:Quit")); switch(.@i){ case 1: // language 1 case 2: // language 2 } Quote Link to comment Share on other sites More sharing options...
smmurey Posted July 5, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 07/03/12 Last Seen: July 9, 2012 Author Share Posted July 5, 2012 Unfortunately when I talk with the npc , give me the options English and then German Quote Link to comment Share on other sites More sharing options...
Question
smmurey
hello guys
how r u ?
In fact, I need a npc to change the language of the npc's
I talk with npc , You have two options :
english
Spanish
--
If you choose English, Change npc's to the English language
If you choose Spanish, Change npc's to the Spanish language
--
I hope I have explained to you
thx
Link to comment
Share on other sites
6 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.