Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9  
Old 05-09-2009, 01:29 AM
realityincarnate
Developer
 
Join Date: Dec 2007
Posts: 122
Default

I finally got a chance to work on the language stuff a bit. Here's what I've got at the moment, tell me if it seems like what you need:

quest::say() is modified to take an optional second parameter that determines the language spoken. So quest::say("I'm speaking elvish", 3) would indeed be said in elvish. The only downsides are that anything with a language given (even if it's a zero for common) uses the regular say channel, so it won't trigger quest journalling and it is subject to client filters.

The events SAY, AGGRO_SAY, and PROXIMITY_SAY all export a variable $langid that holds the number of the language spoken by the player.

The players language skill is accessable (and always has been) through the $client->GetLanguageSkill() function.

I'd like to do some more testing before I commit, but if everything works well and this is what you're looking for, I'll add it in tomorrow.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:56 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3