View Single Post
  #1  
Old 08-29-2014, 04:17 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default Lua Mob.Say() optional language parameter

A while back an optional Language parameter was added to the Perl function for having an NPC say something, so that NPCs could speak other languages besides common.

When I skimmed over the Lua API reference taking a first look, I didn't see that as an option:

Code:
Mob member functions:

...
Void Say(String message);
...
Would it be possible to add an optional language parameter to the existing Lua function?

Or, alternatively, to add like a SayLang() function that would take a language code as well as the message text?
Reply With Quote