Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-25-2004, 10:46 PM
cofruben
Old-EQEmu Developer
 
Join Date: Oct 2002
Location: Spain
Posts: 323
Default #perl is now open for your questions.

Hi all!.Have you got a question,suggestion,or feature request?Come to #perl channel and give your opinion!.All people are welcome,come and ask/help people.

See you there :twisted: .
Reply With Quote
  #2  
Old 07-26-2004, 03:23 AM
Eshmanguls
Fire Beetle
 
Join Date: Mar 2004
Posts: 26
Default

Is it possible to add a function that copies what the PC says and then the NPC can quote it back?

For example,

Player says "Diet Coke sucks."
NPC says, "Diet Coke sucks?"
__________________
Tulkas, the Valiant

::World of Alkora:: An EQEmulator [Custom-Legit] Server
Visit Chat
Reply With Quote
  #3  
Old 07-26-2004, 03:42 AM
cofruben
Old-EQEmu Developer
 
Join Date: Oct 2002
Location: Spain
Posts: 323
Default

u cant quote it,but you can send a message with color.
try the message command with style 0,3,5,etc...,you can add a perl function that calls message command.Use my guide to make it
Reply With Quote
  #4  
Old 08-04-2004, 05:53 PM
killspree
Dragon
 
Join Date: Jun 2002
Posts: 776
Default

Actually, it is possible. HOWEVER, I do NOT suggest using this with an NPC you actually intend to use for quests, because it may cause issues with triggering various sections of the quest, if not all of it. Using this to add life to a zone would be a nice touch though. Maybe have some crazy npc that repeats what everyone says.

Code:
sub EVENT_SAY{
if($text =~ /$text/i){quest::say("$text?");}
}
That's it. Tested it just now and it works.
__________________
Xeldan
Lead Content Designer
Shards of Dalaya
Reply With Quote
  #5  
Old 08-04-2004, 08:36 PM
KhaN's Avatar
KhaN
Dragon
 
Join Date: Mar 2004
Location: France, Bordeaux.
Posts: 677
Default

You make NPC repeat PC text by using a perl script that will txt log what is being said to a NPC, this way later, NPC will be able to have a memory of what you said to him and it will just have to read this log to remember.
__________________

Reply With Quote
  #6  
Old 08-04-2004, 10:00 PM
killspree
Dragon
 
Join Date: Jun 2002
Posts: 776
Default

Well that works too, but you have to be careful with that. Someone could probably abuse it and a log file could get pretty big...
__________________
Xeldan
Lead Content Designer
Shards of Dalaya
Reply With Quote
Reply


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 03: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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3