View Single Post
  #11  
Old 03-25-2001, 06:52 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Alright, refining my idea now:

The signs still go by numbers for say 1...so the sign box would have options for all languages. When you type something in one language, it automatically fills for the other languages...or the EXE is programmed to check, if a sign is blank for the player's language, go with the default sign.
for say3, the texts would be seperated by commas, as in
NPC Code:
say3 Welcome to Graalonline.com,,Bienvenue a Graalonline.com,Njord a Fjord,,,Moo;



As for accepting spoken commands in different languages, that could be done with a sufficiently elaborate OR condition:
NPC Code:
if(playerchats&&(strequals(#c,Yes)
||strequals(#c,Oui)
||strequals(#c,Si)
||strequals(#c,Da)
||strequals(#c,Ja)
||strequals(#c,Hai)){

__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote