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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-27-2009, 11:39 AM
jkennedy
Hill Giant
 
Join Date: Dec 2009
Posts: 175
Default can someone please tell me if theres any problem with this quest

#A conversation to Teleport Player to a new zone (POK)
sub EVENT_SAY
{
if ($text =~/Hail/i)
{
quest::say ("Good day to you, $name. Do you want to [go] to the Plane of Knowledge?");
}

if ($text =~/go/i)
{
quest::say ("$name , stand close to me while I cast..");
quest::emote ("moves his hands as if chanting...");
quest::MovePC(202,-118,-193,-156);
}

}
Reply With Quote
  #2  
Old 12-27-2009, 12:59 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,450
Default

Quote:
Originally Posted by jkennedy View Post
#A conversation to Teleport Player to a new zone (POK)
sub EVENT_SAY
{
if ($text =~/Hail/i)
{
quest::say ("Good day to you, $name. Do you want to [go] to the Plane of Knowledge?");
}

if ($text =~/go/i)
{
quest::say ("$name , stand close to me while I cast..");
quest::emote ("moves his hands as if chanting...");
quest::MovePC(202,-118,-193,-156);
}

}
The spaces near quest::say and quest::emote might be an issue (I doubt it though.)

If someone says the words "go hail", the NPC will trigger both phrases. It's a good idea to use elsif in this situation.

Only two issues I see.
Reply With Quote
  #3  
Old 12-27-2009, 01:03 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,450
Default

Also, eqperl is case sensitive. You may want to try quest::movepc instead.
Reply With Quote
  #4  
Old 12-27-2009, 01:46 PM
jkennedy
Hill Giant
 
Join Date: Dec 2009
Posts: 175
Default

thank you very much
Reply With Quote
  #5  
Old 12-27-2009, 02:18 PM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,475
Default

Actually, that quest appears correct as I have this as a template in my quest editor. I did check all of them. Do other quests work?

quest::MovePC should be ok since Trevius mentioned it to me a while back

GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote
  #6  
Old 12-27-2009, 02:31 PM
jkennedy
Hill Giant
 
Join Date: Dec 2009
Posts: 175
Default

i lowercasted the movepc and it now works so it must of been it didnt read the cap letters
Reply With Quote
  #7  
Old 12-28-2009, 12:59 PM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,475
Default

ok thanks for letting me know - I'll add this to the quest editor fix

GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
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 08:37 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